mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
@@ -210,13 +210,13 @@ export class Box implements INodeType {
|
||||
this,
|
||||
'entries',
|
||||
'GET',
|
||||
`/search`,
|
||||
'/search',
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
qs.limit = this.getNodeParameter('limit', i);
|
||||
responseData = await boxApiRequest.call(this, 'GET', `/search`, {}, qs);
|
||||
responseData = await boxApiRequest.call(this, 'GET', '/search', {}, qs);
|
||||
responseData = responseData.entries;
|
||||
}
|
||||
}
|
||||
@@ -262,7 +262,7 @@ export class Box implements INodeType {
|
||||
body.accessible_by.id = this.getNodeParameter('groupId', i) as string;
|
||||
}
|
||||
|
||||
responseData = await boxApiRequest.call(this, 'POST', `/collaborations`, body, qs);
|
||||
responseData = await boxApiRequest.call(this, 'POST', '/collaborations', body, qs);
|
||||
}
|
||||
// https://developer.box.com/reference/post-files-content
|
||||
if (operation === 'upload') {
|
||||
@@ -444,13 +444,13 @@ export class Box implements INodeType {
|
||||
this,
|
||||
'entries',
|
||||
'GET',
|
||||
`/search`,
|
||||
'/search',
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
qs.limit = this.getNodeParameter('limit', i);
|
||||
responseData = await boxApiRequest.call(this, 'GET', `/search`, {}, qs);
|
||||
responseData = await boxApiRequest.call(this, 'GET', '/search', {}, qs);
|
||||
responseData = responseData.entries;
|
||||
}
|
||||
}
|
||||
@@ -496,7 +496,7 @@ export class Box implements INodeType {
|
||||
body.accessible_by.id = this.getNodeParameter('groupId', i) as string;
|
||||
}
|
||||
|
||||
responseData = await boxApiRequest.call(this, 'POST', `/collaborations`, body, qs);
|
||||
responseData = await boxApiRequest.call(this, 'POST', '/collaborations', body, qs);
|
||||
}
|
||||
//https://developer.box.com/guides/folders/single/move/
|
||||
if (operation === 'update') {
|
||||
|
||||
Reference in New Issue
Block a user