fix labels, date field, enable

This commit is contained in:
Bernd Storath
2025-03-05 15:38:09 +01:00
parent ded148a0f5
commit 84ee8c35f0
6 changed files with 31 additions and 24 deletions
@@ -12,7 +12,7 @@ export default definePermissionEventHandler(
const client = await Database.clients.get(clientId);
checkPermissions(client);
await Database.clients.toggle(clientId, false);
await Database.clients.toggle(clientId, true);
await WireGuard.saveConfig();
return { success: true };
}