From: charleswrayjr Date: Tue, 9 Sep 2025 01:59:06 +0000 (-0500) Subject: Cleaning up the revoke client function and starting on the create client function... X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=ba6a9c76b3a261f0d0a8df3f5072478c60a3d071;p=phs-api.git Cleaning up the revoke client function and starting on the create client function in the vpn controller. --- diff --git a/src/controllers/vpn.controller.js b/src/controllers/vpn.controller.js index 06ceafe..a90b2fe 100644 --- a/src/controllers/vpn.controller.js +++ b/src/controllers/vpn.controller.js @@ -166,6 +166,7 @@ module.exports = { conn.end(); if (code === 0) { const clients = parseVpnStatus( output ); + console.log( clients ); res.json( { clients } ); } else { const error = new createError( 500, `Command failed: ${ output }` );