mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-31 10:37:57 +00:00 
			
		
		
		
	Fixing a few bugs and typos.
This commit is contained in:
		| @@ -62,10 +62,9 @@ namespace OpenWifi { | ||||
|     } | ||||
|  | ||||
|     void RESTAPI_op_contact_handler::DoPut() { | ||||
|         auto uuid = GetBinding("uuid",""); | ||||
|  | ||||
|         auto uuid = GetBinding("uuid"); | ||||
|         OpContactDB::RecordName   Existing; | ||||
|         if(uuid.empty() || DB_.GetRecord("id",uuid,Existing)) { | ||||
|         if(uuid.empty() || !DB_.GetRecord("id",uuid,Existing)) { | ||||
|             return BadRequest(RESTAPI::Errors::MissingUUID); | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959