mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Fix arity error on benchmarks
This commit is contained in:
parent
1e7b118ce4
commit
f1cbeaa7d2
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue