parse.com - any idea why the below parse cloud code parallel promises do not run? -


I'm trying to match the URL based on ID, I do not know if given ID is an item id / Title / Shortlist is

var promises = []; var id = request.params.id ;; // Short URL query shortcode; url = new parse security ("books"); QueryShortUrl.limit = 1; queryShortUrl.equalTo ('shortURLcode', id); promises.push (queryShortUrl.find ()); // title queryTitil = New parse.config ("Pu Stacks "); QueryTitle.limit = 1; queryTitle.equalTo ('BOOKTITLE', id); promises.push (queryNickname.find ()); // objectId queryObjectId = new parse.settings (" Books "); promises.push (QueryObjectId.get (request.params.genuid)) // These run parse promos then (prompts) then (function () {console.log ('res'); response.success (argument);} )


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -