fix: Remove redundant await in node's api request functions without try/catch (#4639)

* 🐛 Remove useless await for actionNetwork

* 🔥 Remove useless await

* 🔥 Remove useless await keyword to other generic functions
This commit is contained in:
agobrech
2022-11-22 17:57:17 +01:00
committed by GitHub
parent b87c12285f
commit 67983e8f94
33 changed files with 33 additions and 33 deletions

View File

@@ -32,7 +32,7 @@ export async function customerIoApiRequest(
options.url = `https://beta-api.customer.io/v1/api${endpoint}`;
}
return await this.helpers.requestWithAuthentication.call(this, 'customerIoApi', options);
return this.helpers.requestWithAuthentication.call(this, 'customerIoApi', options);
}
export function eventExists(currentEvents: string[], webhookEvents: IDataObject) {