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
+3 -1
View File
@@ -2,6 +2,8 @@ import React from 'react';
import StripeRedirect from '~/pages/api/organization/StripeRedirect'; import StripeRedirect from '~/pages/api/organization/StripeRedirect';
import { tempLocalStorage } from '../utilities/checks/tempLocalStorage';
interface Props { interface Props {
plan: { plan: {
name: string; name: string;
@@ -66,7 +68,7 @@ export default function Plan({ plan }: Props) {
<button <button
onClick={() => onClick={() =>
StripeRedirect({ StripeRedirect({
orgId: localStorage.getItem('orgData.id') orgId: tempLocalStorage('orgData.id')
}) })
} }
> >
+1 -1
View File
@@ -2,7 +2,7 @@ import SecurityClient from '~/utilities/SecurityClient';
interface Props { interface Props {
workspaceId: string; workspaceId: string;
secrets: string; secrets: any;
keys: string; keys: string;
environment: string; environment: string;
} }
@@ -2,8 +2,18 @@ import SecurityClient from '~/utilities/SecurityClient';
interface Props { interface Props {
integrationId: string; integrationId: string;
key: string; key: { encryptedKey: any; nonce: any };
secrets: string; 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) => { const changeHerokuConfigVars = ({ integrationId, key, secrets }: Props) => {