Skip to content

POST message json error #86

@sidthekidder

Description

@sidthekidder

In the POST call to /tcos/:tcoid/messages to create a new message, the JSON returned is missing a comma after the parameter 'status'.

Paste the following code into a browser console and see the Response of the POST request in the Network tab -

$.ajax({url:"http://tcoapi.apiary-mock.com/tcos/tco14/messages", method: "POST"})

The corresponding code is at
line 69, https://github.com/cloudspokes/tco-api/blob/master/actions/messages.js
line 100, https://github.com/cloudspokes/tco-api/blob/master/initializers/messages.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions