我不知道为什么会收到此错误。请帮帮我?它发生在 queryUser.get 行。
Parse.Cloud.define("getStacksForUser", function(request, response) {
console.log(request);
console.log(response);
var User = Parse.Object.extend("User")
var Stack = Parse.Object.extend("Stack")
var StackUser = Parse.Object.extend("StackUser")
var queryUser = new Parse.Query(User);
queryUser.get(request.object.get("user"), {
success: function(user) {
console.log(user);
},
error: function(object, error) {
response.error("Error retrieving User");
}
});
});
谢谢!