update ghc version
This commit is contained in:
parent
65e4cc91d5
commit
552ee5b098
|
@ -1,6 +1,6 @@
|
||||||
cabal-version: 1.12
|
cabal-version: 1.12
|
||||||
|
|
||||||
-- This file has been generated from package.yaml by hpack version 0.31.1.
|
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||||||
--
|
--
|
||||||
-- see: https://github.com/sol/hpack
|
-- see: https://github.com/sol/hpack
|
||||||
--
|
--
|
||||||
|
|
|
@ -24,7 +24,7 @@ runInputPostJSONResult form = do
|
||||||
mct <- lookupHeader "content-type"
|
mct <- lookupHeader "content-type"
|
||||||
case fmap (B8.takeWhile (/= ';')) mct of
|
case fmap (B8.takeWhile (/= ';')) mct of
|
||||||
Just "application/json" ->
|
Just "application/json" ->
|
||||||
parseJsonBody >>= \case
|
parseCheckJsonBody >>= \case
|
||||||
A.Success a -> pure $ FormSuccess a
|
A.Success a -> pure $ FormSuccess a
|
||||||
A.Error e -> pure $ FormFailure [pack e]
|
A.Error e -> pure $ FormFailure [pack e]
|
||||||
Just "application/x-www-form-urlencoded" ->
|
Just "application/x-www-form-urlencoded" ->
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
resolver: lts-13.26
|
resolver: lts-14.3
|
||||||
# allow-newer: true
|
# allow-newer: true
|
||||||
extra-deps:
|
extra-deps:
|
||||||
- git: https://github.com/bitemyapp/esqueleto.git
|
|
||||||
commit: 91d66ef329ea0002fff6dcb96e781ea7e33ad581
|
|
||||||
- ekg-0.4.0.15
|
- ekg-0.4.0.15
|
||||||
- ekg-json-0.1.0.6
|
- ekg-json-0.1.0.6
|
||||||
- monad-metrics-0.2.1.2
|
- monad-metrics-0.2.1.4
|
||||||
- wai-middleware-metrics-0.2.4
|
- wai-middleware-metrics-0.2.4
|
||||||
packages:
|
packages:
|
||||||
- '.'
|
- '.'
|
||||||
|
|
Loading…
Reference in a new issue