Update qovery integration

This commit is contained in:
Tuan Dang
2023-09-19 13:50:01 +01:00
parent 0b59a92dfb
commit e3ef826f52
10 changed files with 222 additions and 174 deletions
@@ -40,6 +40,7 @@ export const useCreateIntegration = () => {
owner,
path,
region,
scope,
secretPath,
metadata
}: {
@@ -56,16 +57,10 @@ export const useCreateIntegration = () => {
owner?: string;
path?: string;
region?: string;
scope?: string;
metadata?: {
secretPrefix?: string;
secretSuffix?: string;
org?: string;
orgId?: string;
project?: string;
projectId?: string;
environment?: string;
environmentId?: string;
scope?: string;
}
}) => {
const { data: { integration } } = await apiRequest.post("/api/v1/integration", {
@@ -80,6 +75,7 @@ export const useCreateIntegration = () => {
targetServiceId,
owner,
path,
scope,
region,
secretPath,
metadata