mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-31 18:57:51 +00:00 
			
		
		
		
	Fixing typo in UserInfo struct
This commit is contained in:
		| @@ -20,7 +20,7 @@ namespace OpenWifi { | ||||
|                 for (auto &i : Users) { | ||||
|                     Poco::JSON::Object Obj; | ||||
|                     if (IdOnly) { | ||||
|                         ArrayObj.add(i.Id); | ||||
|                         ArrayObj.add(i.id); | ||||
|                     } else { | ||||
|                         Sanitize(UserInfo_, i); | ||||
|                         i.to_json(Obj); | ||||
| @@ -38,7 +38,7 @@ namespace OpenWifi { | ||||
|                 if(StorageService()->UserDB().GetUserById(i,UInfo)) { | ||||
|                     Poco::JSON::Object Obj; | ||||
|                     if (IdOnly) { | ||||
|                         ArrayObj.add(UInfo.Id); | ||||
|                         ArrayObj.add(UInfo.id); | ||||
|                     } else { | ||||
|                         Sanitize(UserInfo_, UInfo); | ||||
|                         UInfo.to_json(Obj); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959