mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)
https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
@@ -235,7 +235,7 @@ export async function odooGet(
|
||||
password,
|
||||
mapOdooResources[resource] || resource,
|
||||
mapOperationToJSONRPC[operation],
|
||||
[+itemsID] || [],
|
||||
itemsID ? [+itemsID] : [],
|
||||
fieldsToReturn || [],
|
||||
],
|
||||
},
|
||||
@@ -326,7 +326,7 @@ export async function odooUpdate(
|
||||
password,
|
||||
mapOdooResources[resource] || resource,
|
||||
mapOperationToJSONRPC[operation],
|
||||
[+itemsID] || [],
|
||||
itemsID ? [+itemsID] : [],
|
||||
fieldsToUpdate,
|
||||
],
|
||||
},
|
||||
@@ -369,7 +369,7 @@ export async function odooDelete(
|
||||
password,
|
||||
mapOdooResources[resource] || resource,
|
||||
mapOperationToJSONRPC[operation],
|
||||
[+itemsID] || [],
|
||||
itemsID ? [+itemsID] : [],
|
||||
],
|
||||
},
|
||||
id: Math.floor(Math.random() * 100),
|
||||
|
||||
Reference in New Issue
Block a user