mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +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:
@@ -72,7 +72,7 @@ export class Peekalink implements INodeType {
|
||||
link: url,
|
||||
};
|
||||
|
||||
responseData = await peekalinkApiRequest.call(this, 'POST', `/is-available/`, body);
|
||||
responseData = await peekalinkApiRequest.call(this, 'POST', '/is-available/', body);
|
||||
}
|
||||
if (operation === 'preview') {
|
||||
const url = this.getNodeParameter('url', i) as string;
|
||||
@@ -80,7 +80,7 @@ export class Peekalink implements INodeType {
|
||||
link: url,
|
||||
};
|
||||
|
||||
responseData = await peekalinkApiRequest.call(this, 'POST', `/`, body);
|
||||
responseData = await peekalinkApiRequest.call(this, 'POST', '/', body);
|
||||
}
|
||||
if (Array.isArray(responseData)) {
|
||||
returnData.push.apply(returnData, responseData as IDataObject[]);
|
||||
|
||||
Reference in New Issue
Block a user