Skip to content

Parse.Object.save return doesn't contains "__type" #199

Closed
@laullon

Description

@laullon

Hi,

I have this cloud function:

Parse.Cloud.define("newPhoto", function (request, response) {
    var Photo = Parse.Object.extend("Photo");
    var p = new Photo();
    p.set("caption", 'tururu');
    p.save().then(function (np) {
        response.success(np);
    });
});

The 'np' object doesn't have the "__type" property, so it can be translated to a PFObject on my IOS app.

This happened we I deploy my app on a local Parse-server instance.
Please take a look of this bug: parse-community/parse-server#112

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions