From 54daf88489177fdaa528d03cab8a2b20c840457c Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Mon, 8 Sep 2025 18:13:55 -0500 Subject: [PATCH] Making sure revokeClientName is an object before sending the command to revoke the client. --- src/app/views/VPN/VPN.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/views/VPN/VPN.jsx b/src/app/views/VPN/VPN.jsx index 35ca8be..698d5fc 100644 --- a/src/app/views/VPN/VPN.jsx +++ b/src/app/views/VPN/VPN.jsx @@ -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 ( -- 2.43.0