mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-31 18:48:09 +00:00 
			
		
		
		
	Add automatic configuration creation on tag
This commit is contained in:
		| @@ -444,6 +444,7 @@ namespace OpenWifi { | ||||
|                                     NewObject.location = LC.info.id; | ||||
|                                     AddMembership(StorageService()->EntityDB(), &ProvObjects::Entity::locations, | ||||
|                                                   ParentEntity, LC.info.id); | ||||
|                                     Result["location"] = LC.info.id; | ||||
|                                 } | ||||
|                             } | ||||
|                         } else { | ||||
| @@ -470,6 +471,7 @@ namespace OpenWifi { | ||||
|                                 ProvObjects::CreateObjectInfo(R.UserInfo_.userinfo, DC.info); | ||||
|                                 if (StorageService()->ConfigurationDB().CreateRecord(DC)) { | ||||
|                                     NewObject.deviceConfiguration = DC.info.id; | ||||
|                                     Result["configuration"] = DC.info.id; | ||||
|                                 } | ||||
|                             } | ||||
|                         } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959