]> PHS Git Server - phs-admin.git/commitdiff
Making sure revokeClientName is an object before sending the command to revoke the...
authorcharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 23:13:55 +0000 (18:13 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 23:13:55 +0000 (18:13 -0500)
src/app/views/VPN/VPN.jsx

index 35ca8bead66c9614400a8b4bb05e8f756d5ecbf1..698d5fcf1ceb44812237d32e4a3873445f1e363c 100644 (file)
@@ -42,8 +42,7 @@ const VPN = () => {
 
   const handleRevokeClientSubmit = async (e) => {
     e.preventDefault();
-    console.log(revokeClientName);
-    // setMessage( await VPNService.revokeClient(revokeClientName, fetchClients ) );
+    setMessage( await VPNService.revokeClient( { revokeClientName }, fetchClients ) );
   };
 
   return (