mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix bug filtering date and datetime fields on Salesforce node (#2565)
This commit is contained in:
@@ -191,7 +191,9 @@ export function getQuery(options: IDataObject, sobject: string, returnAll: boole
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getValue(value: any) { // tslint:disable-line:no-any
|
export function getValue(value: any) { // tslint:disable-line:no-any
|
||||||
if (typeof value === 'string') {
|
if (moment(value).isValid()) {
|
||||||
|
return value;
|
||||||
|
} else if (typeof value === 'string') {
|
||||||
return `'${value}'`;
|
return `'${value}'`;
|
||||||
} else {
|
} else {
|
||||||
return value;
|
return value;
|
||||||
|
|||||||
Reference in New Issue
Block a user