mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
				synced 2025-11-03 20:27:55 +00:00 
			
		
		
		
	Framework update.
This commit is contained in:
		@@ -437,4 +437,14 @@ namespace OpenWifi::ProvObjects {
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    bool UpdateObjectInfo(const Poco::JSON::Object::Ptr &O, const SecurityObjects::UserInfo &U, ObjectInfo &I) {
 | 
			
		||||
        if(O->has("name"))
 | 
			
		||||
            I.name = O->get("name").toString();
 | 
			
		||||
        if(O->has("description"))
 | 
			
		||||
            I.description = O->get("description").toString();
 | 
			
		||||
        SecurityObjects::MergeNotes(O,U,I.notes);
 | 
			
		||||
        I.modified = std::time(nullptr);
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user