From 3638566c838471b9c03566ac24ff1cd1eb417758 Mon Sep 17 00:00:00 2001 From: nael Date: Fri, 19 Jul 2024 00:32:17 +0200 Subject: [PATCH] :bug: Typo --- .../connections-strategies.controller.ts | 3 +-- packages/shared/src/authUrl.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts b/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts index 835b95642..c924f6910 100644 --- a/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts +++ b/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts @@ -116,13 +116,12 @@ export class ConnectionsStrategiesController { ); } - //todo: ADMIN @ApiOperation({ operationId: 'getCredentials', summary: 'Fetch credentials info needed for connections', }) @ApiResponse({ status: 200 }) - //@UseGuards(JwtAuthGuard) + @UseGuards(JwtAuthGuard) @Get('getCredentials') async getCredentials( @Query('projectId') projectId: string, diff --git a/packages/shared/src/authUrl.ts b/packages/shared/src/authUrl.ts index 51c4f00ea..64020970d 100644 --- a/packages/shared/src/authUrl.ts +++ b/packages/shared/src/authUrl.ts @@ -71,7 +71,7 @@ const handleOAuth2Url = async (input: HandleOAuth2Url) => { config, encodedRedirectUrl, state, - apiUrl + apiUrl } = input; const type = providerToType(providerName, vertical, authStrategy);