We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907a05c commit e64b686Copy full SHA for e64b686
src/RestQuery.js
@@ -271,11 +271,11 @@ RestQuery.prototype.replaceSelect = function() {
271
272
// The select value must have precisely two keys - query and key
273
var selectValue = selectObject['$select'];
274
+ // iOS SDK don't send where if not set, let it pass
275
if (!selectValue.query ||
276
!selectValue.key ||
277
typeof selectValue.query !== 'object' ||
278
!selectValue.query.className ||
- !selectValue.query.where ||
279
Object.keys(selectValue).length !== 2) {
280
throw new Parse.Error(Parse.Error.INVALID_QUERY,
281
'improper usage of $select');
0 commit comments