From: charleswrayjr Date: Mon, 8 Sep 2025 23:13:55 +0000 (-0500) Subject: Making sure revokeClientName is an object before sending the command to revoke the... X-Git-Url: https://git.phasecustomsoft.com/?a=commitdiff_plain;h=54daf88489177fdaa528d03cab8a2b20c840457c;p=phs-admin.git Making sure revokeClientName is an object before sending the command to revoke the client. --- 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 (