Closed lewis-morris closed 2 years ago
I'm struggling with this part, I will work out a way. I have tired to make a custom validator for marshmallow but still no luck.
But the server replies with this
body = Object {code: 400, description: "UNIQUE constraint failed: users.email", message: "Database integrity error"}
Instead of the correctly formatted errors object.
Thanks, this should now be fixed.
Can you tell me what you did, where so I can learn how to do this myself.
The book is great by the way !! Love it
Of course, I've just compared the commits.
I'm struggling with this part, I will work out a way. I have tired to make a custom validator for marshmallow but still no luck.
But the server replies with this
Instead of the correctly formatted errors object.