Fix Device Batch Managed Groups
This commit is contained in:
@@ -500,7 +500,7 @@ namespace Disco.Web.Areas.API.Controllers
|
||||
DeviceBatch.AssignedUsersLinkedGroup = configJson;
|
||||
Database.SaveChanges();
|
||||
|
||||
var managedGroup = DeviceBatchDevicesManagedGroup.Initialize(DeviceBatch);
|
||||
var managedGroup = DeviceBatchAssignedUsersManagedGroup.Initialize(DeviceBatch);
|
||||
if (managedGroup != null) // Sync Group
|
||||
return ADManagedGroupsSyncTask.ScheduleSync(managedGroup);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user