Skip to content

Commit

Permalink
fix response
Browse files Browse the repository at this point in the history
  • Loading branch information
lovrocolic committed Aug 28, 2024
1 parent 1d40329 commit b499d7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def resolve(**args)
fees: fees(args)
).call

result.success? ? result.fees : validation_error(messages: {tax_error: result.error.code})
result.success? ? result.fees : validation_error(messages: {tax_error: [result.error.code]})
end

private
Expand Down

0 comments on commit b499d7f

Please sign in to comment.