Skip to content

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

Fix Build Error

seunghyunOh2b6e69ce1b8c
diff --git a/frontend/components/billing/Plan.tsx b/frontend/components/billing/Plan.tsx
index b051e7435d..69b7baabaf 100644
--- a/frontend/components/billing/Plan.tsx
+++ b/frontend/components/billing/Plan.tsx
@@ -2,6 +2,8 @@ import React from 'react';
import StripeRedirect from '~/pages/api/organization/StripeRedirect';
+import { tempLocalStorage } from '../utilities/checks/tempLocalStorage';
+
interface Props {
plan: {
name: string;
@@ -66,7 +68,7 @@ export default function Plan({ plan }: Props) {
<button
onClick={() =>
StripeRedirect({
- orgId: localStorage.getItem('orgData.id')
+ orgId: tempLocalStorage('orgData.id')
})
}
>
diff --git a/frontend/pages/api/files/UploadSecrets.ts b/frontend/pages/api/files/UploadSecrets.ts
index 53b87d62f5..3644778fbe 100644
--- a/frontend/pages/api/files/UploadSecrets.ts
+++ b/frontend/pages/api/files/UploadSecrets.ts
@@ -2,7 +2,7 @@ import SecurityClient from '~/utilities/SecurityClient';
interface Props {
workspaceId: string;
- secrets: string;
+ secrets: any;
keys: string;
environment: string;
}
diff --git a/frontend/pages/api/integrations/ChangeHerokuConfigVars.ts b/frontend/pages/api/integrations/ChangeHerokuConfigVars.ts
index 854e614e0a..e011bda7bd 100644
--- a/frontend/pages/api/integrations/ChangeHerokuConfigVars.ts
+++ b/frontend/pages/api/integrations/ChangeHerokuConfigVars.ts
@@ -2,8 +2,18 @@ import SecurityClient from '~/utilities/SecurityClient';
interface Props {
integrationId: string;
- key: string;
- secrets: string;
+ key: { encryptedKey: any; nonce: any };
+ secrets: {
+ ciphertextKey: any;
+ ivKey: any;
+ tagKey: any;
+ hashKey: any;
+ ciphertextValue: any;
+ ivValue: any;
+ tagValue: any;
+ hashValue: any;
+ type: string;
+ }[];
}
const changeHerokuConfigVars = ({ integrationId, key, secrets }: Props) => {