mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 09:27:50 +00:00
Fix Build Error
This commit is contained in:
@@ -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')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user