Skip to content

Commit

Permalink
fix(anrok): renamed field error_details to details on error_details o…
Browse files Browse the repository at this point in the history
…bject (#2430)

## Description

Fix serialization of error_details in graphql after error_details field
on error_details model was renamed to details
  • Loading branch information
annvelents authored Aug 19, 2024
1 parent 7c7f467 commit 548cc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/error_details/object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Object < Types::BaseObject
field :id, ID, null: false

def error_details
object.error_details[object.error_code]
object.details[object.error_code]
end
end
end
Expand Down

0 comments on commit 548cc4a

Please sign in to comment.