{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/593","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/593/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/593/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/593","id":135646046,"number":593,"title":"Parse.Query.find returns an array of an array of objects in Parse server","user":{"login":"mmahmood","id":1357796,"avatar_url":"https://avatars.githubusercontent.com/u/1357796?v=3","gravatar_id":"","url":"https://api.github.com/users/mmahmood","html_url":"https://github.com/mmahmood","followers_url":"https://api.github.com/users/mmahmood/followers","following_url":"https://api.github.com/users/mmahmood/following{/other_user}","gists_url":"https://api.github.com/users/mmahmood/gists{/gist_id}","starred_url":"https://api.github.com/users/mmahmood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmahmood/subscriptions","organizations_url":"https://api.github.com/users/mmahmood/orgs","repos_url":"https://api.github.com/users/mmahmood/repos","events_url":"https://api.github.com/users/mmahmood/events{/privacy}","received_events_url":"https://api.github.com/users/mmahmood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/troubleshooting","name":"troubleshooting","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-23T06:10:26Z","updated_at":"2016-03-03T01:03:08Z","closed_at":"2016-02-24T06:10:59Z","body":"On the hosted parse app, \"find\" gives me an array of objects in the cloud code. I copied the same cloud code to a locally hosted parse server, and it failed to produce the same response on the same data set. After looking into it I found that the response is now an array, first element of which is the response I get on the hosted app. \r\n\r\nHosted app response:\r\n[{obj1}, {obj2}, {obj3}]\r\n\r\nLocal parse server response:\r\n[[{obj1}, {obj2}, {obj3}]]\r\n\r\nDoes this mean that I need to change the way I handle query response EVERYWHERE?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/191520856","html_url":"https://github.com/ParsePlatform/parse-server/issues/593#issuecomment-191520856","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/593","id":191520856,"user":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T01:03:08Z","updated_at":"2016-03-03T01:03:08Z","body":"Can you open a new issue with steps for reproducing the issue on either this repo or the JS SDK repo?"}}