]> PHS Git Server - phs-api.git/commitdiff
Cleaning up the revoke client function and starting on the create client function...
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 01:59:06 +0000 (20:59 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 01:59:06 +0000 (20:59 -0500)
src/controllers/vpn.controller.js

index 06ceafebce1b575bff1dd6e2cb95bb2ed81d9cda..a90b2fe679f0a095ae6c3efe3f77e791dd6c76ab 100644 (file)
@@ -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 }` );