mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-31 02:27:52 +00:00 
			
		
		
		
	Fixing location/contact deletion.
This commit is contained in:
		| @@ -70,6 +70,8 @@ namespace OpenWifi{ | ||||
|         } | ||||
|  | ||||
|         if(DB_.DeleteRecord("id",UUID)) { | ||||
|             if(!Existing.entity.empty()) | ||||
|                 Storage()->EntityDB().DeleteLocation("id",Existing.entity,UUID); | ||||
|             return OK(); | ||||
|         } | ||||
|         InternalError(RESTAPI::Errors::CouldNotBeDeleted); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959