small changes

This commit is contained in:
Aashish-Upadhyay-101
2023-02-11 18:10:58 +05:45
parent 6a75147719
commit 9c3c745fdf
3 changed files with 5 additions and 14 deletions
-12
View File
@@ -85,18 +85,6 @@ const integrationAuthSchema = new Schema<IIntegrationAuth>(
type: String, type: String,
select: false select: false
}, },
accessIdCiphertext: {
type: String,
select: false
},
accessIdIV: {
type: String,
select: false
},
accessIdTag: {
type: String,
select: false
},
accessCiphertext: { accessCiphertext: {
type: String, type: String,
select: false, select: false,
@@ -30,7 +30,8 @@ export default function CircleCICreateIntegrationPage() {
const integrationAuth = await saveIntegrationAccessToken({ const integrationAuth = await saveIntegrationAccessToken({
workspaceId: localStorage.getItem('projectData.id'), workspaceId: localStorage.getItem('projectData.id'),
integration: 'circleci', integration: 'circleci',
accessToken: apiKey accessToken: apiKey,
accessId: null,
}); });
setIsLoading(false); setIsLoading(false);
@@ -55,7 +55,9 @@ export default function CircleCICreateIntegrationPage() {
appId: (integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp))?.appId ?? null, appId: (integrationAuthApps?.find((integrationAuthApp) => integrationAuthApp.name === targetApp))?.appId ?? null,
sourceEnvironment: selectedSourceEnvironment, sourceEnvironment: selectedSourceEnvironment,
targetEnvironment: null, targetEnvironment: null,
owner: null owner: null,
path: null,
region: null,
}); });
setIsLoading(false); setIsLoading(false);