wai-routing 0.3 → 0.3.1
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
src/Network/Wai/Routing/Predicate/Capture.hs view
@@ -57,6 +57,6 @@ type FVal HasCapture = Error type TVal HasCapture = () apply (HasCapture x) r =- if null (lookupQuery x r)+ if null (lookupCapture x r) then F (err status400 ("Missing path parameter '" <> x <> "'.")) else T 0 ()
wai-routing.cabal view
@@ -1,5 +1,5 @@ name: wai-routing-version: 0.3+version: 0.3.1 synopsis: Declarative routing for WAI. license: OtherLicense license-file: LICENSE