Skip to content

Commit 14b4584

Browse files
committed
Support servant-0.11
1 parent f18b19b commit 14b4584

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

servant-multipart.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: servant-multipart
2-
version: 0.10
2+
version: 0.10.0.1
33
synopsis: multipart/form-data (e.g file upload) support for servant
44
description: Please see README.md
55
homepage: https://github.com/haskell-servant/servant-multipart#readme
@@ -25,8 +25,8 @@ library
2525
directory,
2626
http-media >= 0.6 && <0.7,
2727
resourcet >=1.1 && <1.2,
28-
servant >=0.10 && <0.11,
29-
servant-server >=0.10 && <0.11,
28+
servant >=0.10 && <0.12,
29+
servant-server >=0.10 && <0.12,
3030
text >=1.2 && <1.3,
3131
transformers >=0.3 && <0.6,
3232
wai >= 3.2 && <3.3,

src/Servant/Multipart.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ data MultipartData = MultipartData
146146

147147
-- TODO: this is specific to Tmp. we need a version that
148148
-- can handle Mem as well.
149-
fromRaw :: ([Param], [File FilePath]) -> MultipartData
149+
fromRaw :: ([Network.Wai.Parse.Param], [File FilePath]) -> MultipartData
150150
fromRaw (inputs, files) = MultipartData is fs
151151

152152
where is = map (\(name, val) -> Input (dec name) (dec val)) inputs

0 commit comments

Comments
 (0)