feat(WireGuard): return client data by createClient.

This commit is contained in:
Danil Shaymurzin 2022-03-06 00:38:46 +05:00 committed by GitHub
parent bbd19b7a6f
commit 8f66d11e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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