File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
servant-client/test/Servant Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,12 @@ genericClientServer :: Application
264
264
genericClientServer = serve (Proxy :: Proxy GenericClientAPI ) (
265
265
(\ mx -> case mx of
266
266
Just x -> return (x* x)
267
- Nothing -> throwE $ ServantErr 400 " missing parameter" " " []
267
+ Nothing -> throwError $ ServantErr 400 " missing parameter" " " []
268
268
)
269
269
:<|> nestedServer1
270
270
)
271
271
where
272
- nestedServer1 _str = nestedServer2 :<|> (maybe (throwE $ ServantErr 400 " missing parameter" " " [] ) return )
272
+ nestedServer1 _str = nestedServer2 :<|> (maybe (throwError $ ServantErr 400 " missing parameter" " " [] ) return )
273
273
nestedServer2 _int = (\ x y -> return (x + y)) :<|> return ()
274
274
275
275
{-# NOINLINE manager #-}
You can’t perform that action at this time.
0 commit comments