mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Address greptile comments
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -44,7 +44,6 @@ export const CertificatesSection = () => {
|
||||
|
||||
await deleteCert({
|
||||
serialNumber,
|
||||
projectSlug: currentProject.slug,
|
||||
projectId: currentProject.id
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user