Patch broken integratins due to permission update

This commit is contained in:
Tuan Dang
2023-09-09 17:29:19 +01:00
parent 110153385b
commit 83d2a39fb1
53 changed files with 60 additions and 269 deletions
@@ -408,8 +408,8 @@ export const useSaveIntegrationAccessToken = () => {
refreshToken?: string;
accessId?: string;
accessToken?: string;
url: string | null;
namespace: string | null;
url?: string;
namespace?: string;
}) => {
const { data: { integrationAuth } } = await apiRequest.post("/api/v1/integration-auth/access-token", {
workspaceId,
@@ -49,13 +49,13 @@ export const useCreateIntegration = () => {
app?: string;
appId?: string;
sourceEnvironment: string;
targetEnvironment: string | null;
targetEnvironmentId: string | null;
targetService: string | null;
targetServiceId: string | null;
owner: string | null;
path: string | null;
region: string | null;
targetEnvironment?: string;
targetEnvironmentId?: string;
targetService?: string;
targetServiceId?: string;
owner?: string;
path?: string;
region?: string;
metadata?: {
secretSuffix?: string;
}