Added OAuth2 support

This commit is contained in:
ricardo
2020-05-30 15:09:04 -04:00
parent f1f09d4a03
commit bf02ae4f57
17 changed files with 305 additions and 156 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) {