fix a warning

This commit is contained in:
Alp Mestanogullari 2016-10-16 10:21:01 +02:00
parent 5e2f8be5a1
commit 4a52cce9b8

View file

@ -256,7 +256,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