Browse Source

Add "type" to error jbuilder

Andrew Swistak 6 năm trước cách đây
mục cha
commit
583cf41a62
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/views/api/v1/application/_error.json.jbuilder

+ 1 - 1
app/views/api/v1/application/_error.json.jbuilder

@@ -1 +1 @@
-json.extract! @error, :message
+json.extract! @error, :message, :type