From 1401cebdc398ec712fee8973c7478f47754521c3 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 23 Sep 2020 09:28:02 +0200 Subject: [PATCH] :shirt: Fix lint issue --- packages/cli/src/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index d06527f87b..eb1c56d7da 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -1296,7 +1296,7 @@ class App { const oAuth2Parameters = { clientId: _.get(oauthCredentials, 'clientId') as string, - clientSecret: _.get(oauthCredentials, 'clientSecret', '') as string, + clientSecret: _.get(oauthCredentials, 'clientSecret', '') as string | undefined, accessTokenUri: _.get(oauthCredentials, 'accessTokenUrl', '') as string, authorizationUri: _.get(oauthCredentials, 'authUrl', '') as string, redirectUri: `${WebhookHelpers.getWebhookBaseUrl()}${this.restEndpoint}/oauth2-credential/callback`,