javascript - Update user object in parse.com -


how can update user object in parse?i know must logged user modify security reason. code don't works :post https://api.parse.com/1/classes/_user/xj3qllyy07 400 (bad request)

      var user = parse.user.current();       console.log(user);        user.save(null, {       success: function(user) {        user.set("email", "pty");        user.save();       }        }); 

for parse.user object, need explicitly set email address (see api documentation):

var user = parse.user.current(); user.setemail("email", options); 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -