mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Lint for no unneeded backticks (#5057) (no-changelog)
* ✨ Create rule `no-unneeded-backticks` * 👕 Enable rule * ⚡ Run rule on `cli` * ⚡ Run rule on `core` * ⚡ Run rule on `workflow` * ⚡ Rule rule on `design-system` * ⚡ Run rule on `node-dev` * ⚡ Run rule on `editor-ui` * ⚡ Run rule on `nodes-base`
This commit is contained in:
@@ -16,7 +16,7 @@ export async function getDatabases(
|
||||
query: filter,
|
||||
filter: { property: 'object', value: 'database' },
|
||||
};
|
||||
const databases = await notionApiRequestAllItems.call(this, 'results', 'POST', `/search`, body);
|
||||
const databases = await notionApiRequestAllItems.call(this, 'results', 'POST', '/search', body);
|
||||
for (const database of databases) {
|
||||
returnData.push({
|
||||
name: database.title[0]?.plain_text || database.id,
|
||||
|
||||
@@ -323,12 +323,12 @@ export class NotionV1 implements INodeType {
|
||||
this,
|
||||
'results',
|
||||
'POST',
|
||||
`/search`,
|
||||
'/search',
|
||||
body,
|
||||
);
|
||||
} else {
|
||||
body.page_size = this.getNodeParameter('limit', i);
|
||||
responseData = await notionApiRequest.call(this, 'POST', `/search`, body);
|
||||
responseData = await notionApiRequest.call(this, 'POST', '/search', body);
|
||||
responseData = responseData.results;
|
||||
}
|
||||
|
||||
|
||||
@@ -342,12 +342,12 @@ export class NotionV2 implements INodeType {
|
||||
this,
|
||||
'results',
|
||||
'POST',
|
||||
`/search`,
|
||||
'/search',
|
||||
body,
|
||||
);
|
||||
} else {
|
||||
body.page_size = this.getNodeParameter('limit', i);
|
||||
responseData = await notionApiRequest.call(this, 'POST', `/search`, body);
|
||||
responseData = await notionApiRequest.call(this, 'POST', '/search', body);
|
||||
responseData = responseData.results;
|
||||
}
|
||||
if (simple) {
|
||||
|
||||
Reference in New Issue
Block a user