Skip to content

Check if where is undefined in queryFilter()#90

Open
obermillerk wants to merge 1 commit intoHustle:masterfrom
obermillerk:fix/check-where-undefined
Open

Check if where is undefined in queryFilter()#90
obermillerk wants to merge 1 commit intoHustle:masterfrom
obermillerk:fix/check-where-undefined

Conversation

@obermillerk
Copy link

@obermillerk obermillerk commented Jun 12, 2020

When running Parse.Schema.all(), queryFilter was hit with where being undefined. Simply check if where is truthy before checking where.$or.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant