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

fix JSON errors creation #97

Merged
merged 1 commit into from
Feb 4, 2017
Merged

fix JSON errors creation #97

merged 1 commit into from
Feb 4, 2017

Conversation

gibarsin
Copy link
Collaborator

@gibarsin gibarsin commented Feb 4, 2017

Summary

  • Added double quotes for errors key
  • Removed comma for the last mapped error

Example

An JSON error will look like this:

{ "errors": [
{"password":"no debe estar vacío"},
{"dni":"no debe ser nulo"}
] }

Trello Card

https://trello.com/c/gfbIpGWG/44-fixes-backend

@gibarsin gibarsin merged commit 3d535bc into development Feb 4, 2017
@gibarsin gibarsin deleted the errorsFix branch February 4, 2017 12:33
MatiasComercio pushed a commit that referenced this pull request Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants