Fix #:no-default-when in the query-parameters module
It now actually looks at the fields which have been provided.
This commit is contained in:
parent
9c23451482
commit
95ad50a80c
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
|||
(let ((use-default?
|
||||
(every (lambda (field)
|
||||
(not (memq field fields)))
|
||||
fields)))
|
||||
(map car request-query-parameters))))
|
||||
(match (assq name request-query-parameters)
|
||||
(#f (if use-default?
|
||||
(cons name default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue