Fix arity error on benchmarks

This commit is contained in:
Tommi Reiman 2019-01-18 08:52:03 +02:00
parent 1e7b118ce4
commit f1cbeaa7d2

View file

@ -253,7 +253,8 @@
(if inject-router?
(fn enrich-request [request router]
(impl/fast-assoc request ::r/router router))
identity))
(fn enrich-request [request _]
request)))
(defn ring-handler
"Creates a ring-handler out of a router, optional default ring-handler