mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -88,7 +88,7 @@ export async function executeQueryQueue(
|
||||
* @param {IDataObject} item The item to extract
|
||||
*/
|
||||
export function extractValues(item: IDataObject): string {
|
||||
return `(${Object.values(item as any)
|
||||
return `(${Object.values(item)
|
||||
.map((val) => {
|
||||
//the column cannot be found in the input
|
||||
//so, set it to null in the sql query
|
||||
|
||||
@@ -395,7 +395,7 @@ export class MicrosoftSql implements INodeType {
|
||||
.request()
|
||||
.query(
|
||||
`DELETE FROM ${table} WHERE "${deleteKey}" IN ${extractDeleteValues(
|
||||
deleteValues,
|
||||
deleteValues as IDataObject[],
|
||||
deleteKey,
|
||||
)};`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user