Revise Northflank integration

This commit is contained in:
Tuan Dang
2023-07-27 14:52:52 +07:00
parent bc9d6253be
commit 980a578bd5
12 changed files with 232 additions and 117 deletions
@@ -4,7 +4,6 @@ interface Props {
integrationAuthId: string;
isActive: boolean;
secretPath: string;
secretGroup?: string;
app: string | null;
appId: string | null;
sourceEnvironment: string;
@@ -36,7 +35,6 @@ const createIntegration = ({
path,
region,
secretPath,
secretGroup
}: Props) =>
SecurityClient.fetchCall("/api/v1/integration", {
method: "POST",
@@ -57,7 +55,6 @@ const createIntegration = ({
path,
region,
secretPath,
secretGroup
})
}).then(async (res) => {
if (res && res.status === 200) {