Fix Build Error

This commit is contained in:
seunghyunOh
2022-12-11 15:51:29 +09:00
parent c4b4829694
commit 2b6e69ce1b
3 changed files with 16 additions and 4 deletions

View File

@ -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')
})
}
>

View File

@ -2,7 +2,7 @@ import SecurityClient from '~/utilities/SecurityClient';
interface Props {
workspaceId: string;
secrets: string;
secrets: any;
keys: string;
environment: string;
}

View File

@ -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) => {