From 89c1ef2f470c52eebe6c6b676005022cef8dbe5c Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Mon, 17 Nov 2025 10:56:35 -0300 Subject: [PATCH] Address greptile comments --- frontend/src/hooks/api/certificates/types.ts | 2 -- .../CertificatesPage/components/CertificateRevocationModal.tsx | 1 - .../CertificatesPage/components/CertificatesSection.tsx | 1 - 3 files changed, 4 deletions(-) diff --git a/frontend/src/hooks/api/certificates/types.ts b/frontend/src/hooks/api/certificates/types.ts index 52ac0d9d4..ee543aac7 100644 --- a/frontend/src/hooks/api/certificates/types.ts +++ b/frontend/src/hooks/api/certificates/types.ts @@ -24,13 +24,11 @@ export type TCertificate = { }; export type TDeleteCertDTO = { - projectSlug: string; projectId: string; serialNumber: string; }; export type TRevokeCertDTO = { - projectSlug: string; projectId: string; serialNumber: string; revocationReason: string; diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateRevocationModal.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateRevocationModal.tsx index 39198beb8..14e8d100a 100644 --- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateRevocationModal.tsx +++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateRevocationModal.tsx @@ -53,7 +53,6 @@ export const CertificateRevocationModal = ({ popUp, handlePopUpToggle }: Props) const { serialNumber } = popUp.revokeCertificate.data as { serialNumber: string }; await revokeCertificate({ - projectSlug: currentProject.slug, projectId: currentProject.id, serialNumber, revocationReason diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx index 1330c5c4a..e151df542 100644 --- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx +++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesSection.tsx @@ -44,7 +44,6 @@ export const CertificatesSection = () => { await deleteCert({ serialNumber, - projectSlug: currentProject.slug, projectId: currentProject.id });