Remove redundant do
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ cfgLimitRows = cfg dbString . Just
|
|||||||
|
|
||||||
withApp :: AppConfig -> DbStructure -> H.Connection
|
withApp :: AppConfig -> DbStructure -> H.Connection
|
||||||
-> ActionWith Application -> IO ()
|
-> ActionWith Application -> IO ()
|
||||||
withApp config dbStructure c perform = do
|
withApp config dbStructure c perform =
|
||||||
perform $ defaultMiddle $ \req resp -> do
|
perform $ defaultMiddle $ \req resp -> do
|
||||||
time <- getPOSIXTime
|
time <- getPOSIXTime
|
||||||
body <- strictRequestBody req
|
body <- strictRequestBody req
|
||||||
|
|||||||
Reference in New Issue
Block a user