Skip to content

Commit e5fb736

Browse files
committed
Add @payload[:errors] to error.json.jbuilder
- Remove payload[:message], copying v1 behaviour
1 parent 6d8550e commit e5fb736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/api/v2/error.json.jbuilder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
json.partial! 'api/v2/standard_response'
44

55
# json.items []
6-
json.message @payload[:message]
6+
json.errors @payload[:errors]
77
json.details @payload[:details]

0 commit comments

Comments
 (0)