This commit is contained in:
boufni95 2025-09-15 18:48:59 +00:00
parent 3599e114b1
commit 5addd12928

View file

@ -11,7 +11,7 @@ export function serializeFindOperator(operator: FindOperator<any>): SerializedFi
return { return {
_type: 'FindOperator', _type: 'FindOperator',
type: operator['type'], type: operator['type'],
value: Array.isArray(operator['value']) ? operator["value"].map(serializeFindOperator) : operator["value"], value: (Array.isArray(operator['value']) && operator['type'] !== 'between') ? operator["value"].map(serializeFindOperator) : operator["value"],
}; };
} }