Unskip tests (#516)

* Unskip tests

* fix fn output for errors

* Change Error model and add fn routes call return on error
This commit is contained in:
Seif Lotfy سيف لطفي
2017-02-10 01:31:39 +01:00
committed by Pedro Nasser
parent 6214f1711a
commit ab9428a937
5 changed files with 38 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
package models
type ErrorBody struct {
Fields string `json:"fields,omitempty"`
Message string `json:"message,omitempty"`
Message string `json:"message,omitempty"`
RequestID string `json:"request_id,omitempty"`
}
// Validate validates this error body