Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(gateway-ui): widen the revoke response method type
bernie-gd281af11d4ef
diff --git a/frontend/src/hooks/api/gateways-v2/mutations.tsx b/frontend/src/hooks/api/gateways-v2/mutations.tsxindex e92cbd2689..675ca94819 100644--- a/frontend/src/hooks/api/gateways-v2/mutations.tsx+++ b/frontend/src/hooks/api/gateways-v2/mutations.tsx@@ -104,7 +104,7 @@ export const useRevokeGatewayAccess = () => {return useMutation({mutationFn: async ({ gatewayId }: { gatewayId: string }) => {const { data } = await apiRequest.post<{- method: "aws" | "token";+ method: "aws" | "kubernetes" | "token";}>(`/api/v3/gateways/${gatewayId}/revoke`);return data;},