Skip to content

Error while trying to save Object #15

@PaulusMenheere

Description

@PaulusMenheere

when calling the save() method on the Model. I get an JSON.parse EXCEPTION error.

after some debugging I found that the attributesMetadata variable filled in the JsonApiModel.prototype.save function returns an 'undefined' value.

this is the payload send to the api:

"data": {
    "type": "organisations",
    "id": "1",
    "attributes": {}
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions