Minor fixes discovered while working on the record loading problem

This commit is contained in:
Simon Brooke 2018-09-19 15:14:22 +01:00
parent 7ce041ad0c
commit 7a791f50f4
2 changed files with 4 additions and 9 deletions

View file

@ -69,10 +69,8 @@
(fn [request]
(if-let [user (-> request :session :user)]
(binding [*user* user]
(log/debug "*user* bound as: " *user*)
(handler request))
(do
(log/debug "No user found in session")
(handler request)))))