Skip to content

Commit 6ab0296

Browse files
alpmestanphadej
authored andcommitted
fix a warning
1 parent 124c6de commit 6ab0296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant-server/src/Servant/Server/Internal/RoutingApplication.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ runDelayed Delayed{..} env req = do
257257
a <- authD
258258
b <- bodyD
259259
liftIO (writeIORef cleanupRef $ cleanupD b)
260-
DelayedIO $ \ req -> return (serverD c a b req)
260+
DelayedIO $ \ r -> return (serverD c a b r)
261261
)
262262
req
263263
fmap (routeRes,) $ readIORef cleanupRef

0 commit comments

Comments
 (0)