mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-11-26 14:30:23 +00:00
Fix refresh issues on PKI Inventory table
This commit is contained in:
+1
@@ -54,6 +54,7 @@ export const CertificateRevocationModal = ({ popUp, handlePopUpToggle }: Props)
|
||||
|
||||
await revokeCertificate({
|
||||
projectSlug: currentProject.slug,
|
||||
projectId: currentProject.id,
|
||||
serialNumber,
|
||||
revocationReason
|
||||
});
|
||||
|
||||
@@ -42,7 +42,11 @@ export const CertificatesSection = () => {
|
||||
const onRemoveCertificateSubmit = async (serialNumber: string) => {
|
||||
if (!currentProject?.slug) return;
|
||||
|
||||
await deleteCert({ serialNumber, projectSlug: currentProject.slug });
|
||||
await deleteCert({
|
||||
serialNumber,
|
||||
projectSlug: currentProject.slug,
|
||||
projectId: currentProject.id
|
||||
});
|
||||
|
||||
createNotification({
|
||||
text: "Successfully deleted certificate",
|
||||
|
||||
Reference in New Issue
Block a user