I have a parse server deployed on heroku. I am running some cloud code on my parse server its a code that takes several minutes to run and causes timeout errors on Heroku when run on a web dyno.   heroku[router]: at=error code=H12 desc="Request t...
A brief and clear explanation of how we configure the app.js file and whether we need to require parse-server in it is needed basically. Which files should and shouldn't be related with each other?  For example this is the main.js file where a si...
I am passing "message" of type String and "User" of type [String]()  Parse.Cloud.define("invite", function(request,response) {      var message = request.params.message;     var pushQuery = new Parse.Query(Parse.Installation);...
I have Parse Server running on AWS and I wonder how to save an object to it. I'm not sure how to connect to Parse Server in my javascript file...  Do I do something like:  var Parse = require('parse');  Parse.initialize("YOUR_APP_ID&#...
I have made a user login function:  export const userLogin = (email, password) => (dispatch) => {     console.log(email, password);   dispatch({ type: actionTypes.AUTH_LOGIN_STARTED });   console.log("after dispatch");   Parse.User.logI...
My Parse SDK seems to be doing weird things, check this out:  await Parse.User.logIn("testuser", "123asd");  this.initMap().then( correct => this.correctInit = correct);     const places = await PlaceDAO.getAllForPosition(this.coor...
I am trying to run queries inside a for loop in nodejs and each iteration of the for loop runs one query. The queries are done with a "get()" method that returns a Promise. In my function (that contains this for loop), I am returning the prom...
How can call Parse.Cloud.run by specific user in javascript api?   Server code  Parse.Cloud.define('createChatRoom', async (req, res) => {     if (req.user == null) {         res.error({             message: 'No request user',...
I'm using the below query in my web app using the Parse Server Javascript SDK.  The console log is providing me with a display of the pulled information as expected, except for objectId that displays "undefined".  var query = new Parse.Qu...
I'm trying to pass a formatted string into my function, but when the email is sent the text does not appear line by line, which is what I want.  var bodySummary = nominatorName + "\n" + nominatorRegion                  // Run email Cloud...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.