fix: Live query throws error when constraint notEqualTo is set to null (#8835)
This commit is contained in:
@@ -223,7 +223,7 @@ function matchesKeyConstraints(object, key, constraints) {
|
||||
// More complex cases
|
||||
for (var condition in constraints) {
|
||||
compareTo = constraints[condition];
|
||||
if (compareTo.__type) {
|
||||
if (compareTo?.__type) {
|
||||
compareTo = Parse._decode(key, compareTo);
|
||||
}
|
||||
switch (condition) {
|
||||
|
||||
Reference in New Issue
Block a user