Passing postgres test with user
This commit is contained in:
@@ -526,16 +526,14 @@ function findPointers(object, path) {
|
||||
}
|
||||
|
||||
if (typeof object !== 'object') {
|
||||
throw new Parse.Error(Parse.Error.INVALID_QUERY,
|
||||
'can only include pointer fields');
|
||||
throw new Parse.Error(Parse.Error.INVALID_QUERY, 'can only include pointer fields');
|
||||
}
|
||||
|
||||
if (path.length == 0) {
|
||||
if (object.__type == 'Pointer') {
|
||||
return [object];
|
||||
}
|
||||
throw new Parse.Error(Parse.Error.INVALID_QUERY,
|
||||
'can only include pointer fields');
|
||||
throw new Parse.Error(Parse.Error.INVALID_QUERY, 'can only include pointer fields');
|
||||
}
|
||||
|
||||
var subobject = object[path[0]];
|
||||
|
||||
Reference in New Issue
Block a user