better health check.
This commit is contained in:
@@ -85,8 +85,7 @@
|
||||
(when (not (get (into #{"Shared"} (:client/locations client))
|
||||
(:location a)))
|
||||
(let [err (str "Account " name " uses location " (:location a) ", but doesn't belong to the client " location)]
|
||||
(throw (ex-info err {:validation-error err}) )))
|
||||
)
|
||||
(throw (ex-info err {:validation-error err}) ))))
|
||||
rule-id (if id
|
||||
id
|
||||
"transaction-rule")
|
||||
|
||||
Reference in New Issue
Block a user