We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8edbf2d commit 3ca5432Copy full SHA for 3ca5432
src/lib/HW/S3.hs
@@ -43,10 +43,10 @@ makeObjectKey = do
43
toRqBody :: LazyByteString.ByteString -> Aws.RqBody
44
toRqBody = Aws.toBody
45
. Aeson.encode
46
- . Map.fromList
+ . Map.fromListWith (<>)
47
. Maybe.mapMaybe (\ (key, maybeValue) -> do
48
value <- maybeValue
49
Monad.guard . not $ Text.null value
50
- pure (key, value))
+ pure (key, [value]))
51
. Http.parseQueryText
52
. LazyByteString.toStrict
0 commit comments