Cleanup type signatures and start working on debug env run
This commit is contained in:
@@ -42,6 +42,13 @@ runAppEff env = runEff
|
||||
. runDatabaseIO
|
||||
. runLoggerPSQL
|
||||
|
||||
runAppDebug :: AppEnv -> AppEff a -> IO (Either ServerError a)
|
||||
runAppDebug env = runEff
|
||||
. runErrorNoCallStack
|
||||
. runReader env
|
||||
. runDatabaseDebug
|
||||
. runLoggerConsole
|
||||
|
||||
port :: Int
|
||||
port = 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user