re-added basicAuth for authentication

This commit is contained in:
Rupenieks
2020-06-24 16:02:44 +02:00
parent 48765b7db6
commit c1b4c570fd
3 changed files with 21 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ export async function pipedriveApiRequest(this: IHookFunctions | IExecuteFunctio
let responseData;
try {
if (authenticationMethod === 'accessToken') {
if (authenticationMethod === 'basicAuth') {
const credentials = this.getCredentials('pipedriveApi');
if (credentials === undefined) {