diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 441d71c..a7d43aa 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -265,6 +265,8 @@ Endpoint = ${WG_HOST}:${WG_PORT}`; config.clients[clientId] = client; await this.saveConfig(); + + return client; } async deleteClient({ clientId }) {