added folder and changed name to credentials

This commit is contained in:
ricardo
2020-03-22 13:03:56 -04:00
parent 79ba4dd43d
commit b60c9be282
8 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ export async function microsoftApiRequest(this: IExecuteFunctions | IExecuteSing
options.headers = Object.assign({}, options.headers, headers);
}
//@ts-ignore
return await this.helpers.requestOAuth.call(this, 'microsoftOAuth2Api', options);
return await this.helpers.requestOAuth.call(this, 'microsoftExcelOAuth2Api', options);
} catch (error) {
if (error.response && error.response.body && error.response.body.error && error.response.body.error.message) {
// Try to return the error prettier

View File

@@ -49,7 +49,7 @@ export class MicrosoftExcel implements INodeType {
outputs: ['main'],
credentials: [
{
name: 'microsoftOAuth2Api',
name: 'microsoftExcelOAuth2Api',
required: true,
},
],

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB