mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
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:
@@ -24,7 +24,7 @@ export async function rocketchatApiRequest(
|
||||
if (Object.keys(options.body).length === 0) {
|
||||
delete options.body;
|
||||
}
|
||||
return await this.helpers.requestWithAuthentication.call(this, 'rocketchatApi', options);
|
||||
return this.helpers.requestWithAuthentication.call(this, 'rocketchatApi', options);
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
Reference in New Issue
Block a user