We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var _ = require('underscore'); var Post = Parse.Object.extend('Post'); // Display all posts. exports.index = function(req, res) { console.log("index...applicationId............",Parse.applicationId); console.log("index...masterKey............",Parse.masterKey); console.log("index...serverURL............",Parse.serverURL); console.log("index...databaseURI............",Parse.databaseURI); var query = new Parse.Query(Post); query.descending('createdAt'); query.find().then(function(results) { res.render('posts/index', { posts: results }); console.log("index find..............."); }, function() { res.send(500, 'Failed loading posts'); console.log("index 500..............."); }); console.log("index end..............."); };
The text was updated successfully, but these errors were encountered:
Can you please post some code that demonstrates what you are doing, what you expected to happen, and what actually happened?
Sorry, something went wrong.
Closing due to lack of activity, please reopen if the issue persist.
Don't forget to include your current:
No branches or pull requests
The text was updated successfully, but these errors were encountered: