Fix some minor issues with OAuth2

This commit is contained in:
Jan Oberhauser
2020-05-31 19:24:14 +02:00
parent e51f4561d3
commit a6add045bd
6 changed files with 12 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ export async function githubApiRequest(this: IHookFunctions | IExecuteFunctions,
const baseUrl = credentials!.server || 'https://api.github.com';
options.uri = `${baseUrl}${endpoint}`;
//@ts-ignore
return await this.helpers.requestOAuth.call(this, 'githubOAuth2Api', options);
}
} catch (error) {