fix a warning

This commit is contained in:
Alp Mestanogullari 2016-10-16 10:21:01 +02:00 committed by Oleg Grenrus
parent 124c6de1eb
commit 6ab0296d62

View file

@ -257,7 +257,7 @@ runDelayed Delayed{..} env req = do
a <- authD
b <- bodyD
liftIO (writeIORef cleanupRef $ cleanupD b)
DelayedIO $ \ req -> return (serverD c a b req)
DelayedIO $ \ r -> return (serverD c a b r)
)
req
fmap (routeRes,) $ readIORef cleanupRef