Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Address greptile comments

Carlos Monastyrski89c1ef2f470c
diff --git a/frontend/src/hooks/api/certificates/types.ts b/frontend/src/hooks/api/certificates/types.ts
index 52ac0d9d46..ee543aac71 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 39198beb81..14e8d100ab 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 1330c5c4a9..e151df542d 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
});