Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird indentation for single object list #3

Closed
danielgtaylor opened this issue Aug 12, 2020 · 0 comments · Fixed by #15
Closed

Weird indentation for single object list #3

danielgtaylor opened this issue Aug 12, 2020 · 0 comments · Fixed by #15
Labels
bug Something isn't working

Comments

@danielgtaylor
Copy link
Owner

danielgtaylor commented Aug 12, 2020

There is a bug in the shorthand rendering of simple lists/items:

$ restish :8000/v1/notes
HTTP/1.1 200 OK
Content-Length: 65
Content-Type: application/json; charset=utf-8
Date: Wed, 12 Aug 2020 19:50:48 GMT

[{
    created: "2020-08-12T12:50:44.681241-07:00"
    id: "test-note"
  }]

It should look like:

[{
  created: "2020-08-12T12:50:44.681241-07:00"
  id: "test-note"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant