mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
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:
@@ -62,7 +62,15 @@ export async function caseSearch(
|
||||
filter?: string,
|
||||
paginationToken?: string,
|
||||
): Promise<INodeListSearchResult> {
|
||||
return listResource.call(this, 'listCase', 'title', 'title', 'cases', filter, paginationToken);
|
||||
return await listResource.call(
|
||||
this,
|
||||
'listCase',
|
||||
'title',
|
||||
'title',
|
||||
'cases',
|
||||
filter,
|
||||
paginationToken,
|
||||
);
|
||||
}
|
||||
|
||||
export async function commentSearch(
|
||||
@@ -70,7 +78,7 @@ export async function commentSearch(
|
||||
filter?: string,
|
||||
paginationToken?: string,
|
||||
): Promise<INodeListSearchResult> {
|
||||
return listResource.call(
|
||||
return await listResource.call(
|
||||
this,
|
||||
'listComment',
|
||||
'message',
|
||||
@@ -86,7 +94,15 @@ export async function alertSearch(
|
||||
filter?: string,
|
||||
paginationToken?: string,
|
||||
): Promise<INodeListSearchResult> {
|
||||
return listResource.call(this, 'listAlert', 'title', 'title', 'alerts', filter, paginationToken);
|
||||
return await listResource.call(
|
||||
this,
|
||||
'listAlert',
|
||||
'title',
|
||||
'title',
|
||||
'alerts',
|
||||
filter,
|
||||
paginationToken,
|
||||
);
|
||||
}
|
||||
|
||||
export async function taskSearch(
|
||||
@@ -94,7 +110,15 @@ export async function taskSearch(
|
||||
filter?: string,
|
||||
paginationToken?: string,
|
||||
): Promise<INodeListSearchResult> {
|
||||
return listResource.call(this, 'listTask', 'title', 'title', undefined, filter, paginationToken);
|
||||
return await listResource.call(
|
||||
this,
|
||||
'listTask',
|
||||
'title',
|
||||
'title',
|
||||
undefined,
|
||||
filter,
|
||||
paginationToken,
|
||||
);
|
||||
}
|
||||
|
||||
export async function pageSearch(
|
||||
@@ -171,7 +195,7 @@ export async function logSearch(
|
||||
filter?: string,
|
||||
paginationToken?: string,
|
||||
): Promise<INodeListSearchResult> {
|
||||
return listResource.call(
|
||||
return await listResource.call(
|
||||
this,
|
||||
'listLog',
|
||||
'message',
|
||||
|
||||
Reference in New Issue
Block a user