Merge pull request #216 from murka/patch-1

feat(WireGuard): return client data by createClient.
This commit is contained in:
Emile Nijssen 2022-06-12 23:24:28 +02:00 committed by GitHub
commit b72bcce052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
config.clients[clientId] = client;
await this.saveConfig();
return client;
}
async deleteClient({ clientId }) {