Skip to content

Commit

Permalink
Adapt to GHC 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cblp committed Aug 29, 2022
1 parent d1adf8f commit ae3f887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Servant/CLI/HasCLI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ instance ( KnownSymbol sym
addParam :: RequiredArgument mods a -> Request -> Request
addParam = foldRequiredArgument (Proxy @mods) add (maybe id add)
add :: a -> Request -> Request
add param = appendToQueryString (T.pack pName) (Just (toQueryParam param))
add param = appendToQueryString (T.pack pName) (Just $ T.encodeUtf8 $ toQueryParam param)
opt :: Opt (RequiredArgument mods a)
opt = Opt
{ optName = pName
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-18.20
resolver: lts-19.0

0 comments on commit ae3f887

Please sign in to comment.