Skip to content

Commit

Permalink
wrapping up response in bad-request triggered a number of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agigao committed Jul 31, 2023
1 parent ca28d22 commit fcc6bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xiana/interceptor/error.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
:error (fn [state]
(if-let [resp (-> state :error ex-data :xiana/response)]
(-> state
(assoc :response (ring/bad-request resp))
(assoc :response resp)
(dissoc :error))
state))})

0 comments on commit fcc6bcf

Please sign in to comment.