Fixing map delete bug.

This commit is contained in:
stephb9959
2021-11-30 06:46:36 -08:00
parent 2b1581e89a
commit 1c82955673
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenWifi{
return NotFound();
}
if(UserInfo_.userinfo.email!=Existing.creator) {
if(UserInfo_.userinfo.Id!=Existing.creator) {
return UnAuthorized("You must be the creator of the map to delete it");
}