mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Do not try to convert Dates (considered an object) (#14520)
This commit is contained in:
@@ -1575,7 +1575,7 @@ export class GraphQLService {
|
||||
|
||||
result[currentKey] = Object.values(value)[0]!;
|
||||
} else {
|
||||
result[currentKey] = isObject(value) ? replaceFuncDeep(value) : value;
|
||||
result[currentKey] = value?.constructor === Object ? replaceFuncDeep(value) : value;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user