fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -113,7 +113,7 @@ export class Stripe implements INodeType {
|
||||
methods = {
|
||||
loadOptions: {
|
||||
async getCustomers(this: ILoadOptionsFunctions) {
|
||||
return loadResource.call(this, 'customer');
|
||||
return await loadResource.call(this, 'customer');
|
||||
},
|
||||
async getCurrencies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
|
||||
@@ -32,7 +32,7 @@ export async function stripeApiRequest(
|
||||
delete options.qs;
|
||||
}
|
||||
|
||||
return this.helpers.requestWithAuthentication.call(this, 'stripeApi', options);
|
||||
return await this.helpers.requestWithAuthentication.call(this, 'stripeApi', options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user