Address greptile comments

This commit is contained in:
Carlos Monastyrski
2025-11-17 10:56:35 -03:00
parent 9263c1a23d
commit 89c1ef2f47
3 changed files with 0 additions and 4 deletions
@@ -24,13 +24,11 @@ export type TCertificate = {
}; };
export type TDeleteCertDTO = { export type TDeleteCertDTO = {
projectSlug: string;
projectId: string; projectId: string;
serialNumber: string; serialNumber: string;
}; };
export type TRevokeCertDTO = { export type TRevokeCertDTO = {
projectSlug: string;
projectId: string; projectId: string;
serialNumber: string; serialNumber: string;
revocationReason: string; revocationReason: string;
@@ -53,7 +53,6 @@ export const CertificateRevocationModal = ({ popUp, handlePopUpToggle }: Props)
const { serialNumber } = popUp.revokeCertificate.data as { serialNumber: string }; const { serialNumber } = popUp.revokeCertificate.data as { serialNumber: string };
await revokeCertificate({ await revokeCertificate({
projectSlug: currentProject.slug,
projectId: currentProject.id, projectId: currentProject.id,
serialNumber, serialNumber,
revocationReason revocationReason
@@ -44,7 +44,6 @@ export const CertificatesSection = () => {
await deleteCert({ await deleteCert({
serialNumber, serialNumber,
projectSlug: currentProject.slug,
projectId: currentProject.id projectId: currentProject.id
}); });