diff --git a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts index 64858802dd..98275e5e78 100644 --- a/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts +++ b/apps/client/src/app/components/user-account-access/create-or-update-access-dialog/create-or-update-access-dialog.component.ts @@ -237,10 +237,6 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { return this.accessForm?.get('type')?.value as AccessType; } - protected get isMcpAccess() { - return this.accessType === 'MCP'; - } - protected get isPublicAccess() { return this.accessType === 'PUBLIC'; } @@ -250,7 +246,7 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { headers: { Authorization: `Bearer ${this.accessId}` }, - type: 'https', + type: 'http', url: `${this.baseUrl}${MCP_ENDPOINT}` }; } @@ -283,6 +279,10 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { } } + private get isMcpAccess() { + return this.accessType === 'MCP'; + } + private async createAccess() { const filters = this.getFilters();