mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐛 Fix wrong authentication name (#908)
This commit is contained in:
parent
0c2db741ef
commit
6fdbdb5957
|
@ -24,7 +24,7 @@ export async function acuitySchedulingApiRequest(this: IHookFunctions | IExecute
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (authenticationMethod === 'accessToken') {
|
if (authenticationMethod === 'apiKey') {
|
||||||
const credentials = this.getCredentials('acuitySchedulingApi');
|
const credentials = this.getCredentials('acuitySchedulingApi');
|
||||||
if (credentials === undefined) {
|
if (credentials === undefined) {
|
||||||
throw new Error('No credentials got returned!');
|
throw new Error('No credentials got returned!');
|
||||||
|
|
Loading…
Reference in a new issue