Improvements to Mailchimp-Node

This commit is contained in:
ricardo
2020-07-09 13:37:35 -04:00
parent 0b55fc2ed7
commit bf81b064e1
2 changed files with 347 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ export async function mailchimpApiRequest(this: IHookFunctions | IExecuteFunctio
const datacenter = (credentials.apiKey as string).split('-').pop();
options.url = `https://${datacenter}.${host}${endpoint}`;
return await this.helpers.request!(options);
} else {
const credentials = this.getCredentials('mailchimpOAuth2Api') as IDataObject;