mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-04 00:06:18 +00:00
Assign peers from client settings is done
This commit is contained in:
@@ -1277,7 +1277,7 @@ def API_Clients_AssignedPeers():
|
||||
if not clientId:
|
||||
return ResponseObject(False, "Please provide ClientID")
|
||||
|
||||
d = DashboardClients.GetClientAssignedPeers(clientId)
|
||||
d = DashboardClients.GetClientAssignedPeersGrouped(clientId)
|
||||
if d is None:
|
||||
return ResponseObject(False, "Client does not exist")
|
||||
return ResponseObject(data=d)
|
||||
|
Reference in New Issue
Block a user