feat(Airtable Node): Access token support (#6160)

This commit is contained in:
Michael Kret
2023-05-04 13:17:22 +03:00
committed by GitHub
parent 91fee0ca66
commit f9fd82040a
6 changed files with 121 additions and 16 deletions

View File

@@ -58,8 +58,8 @@ export async function apiRequest(
if (Object.keys(body).length === 0) {
delete options.body;
}
return this.helpers.requestWithAuthentication.call(this, 'airtableApi', options);
const authenticationMethod = this.getNodeParameter('authentication', 0) as string;
return this.helpers.requestWithAuthentication.call(this, authenticationMethod, options);
}
/**