summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi/thermoprint-server/thermoprint-server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi/thermoprint-server/thermoprint-server.hs b/bragi/thermoprint-server/thermoprint-server.hs
index 4635dd0a..5818ea4a 100644
--- a/bragi/thermoprint-server/thermoprint-server.hs
+++ b/bragi/thermoprint-server/thermoprint-server.hs
@@ -23,7 +23,7 @@ main :: IO ()
23main = thermoprintServer True (Nat runDb) $ configure <$> def `withPrinters` printers' 23main = thermoprintServer True (Nat runDb) $ configure <$> def `withPrinters` printers'
24 where 24 where
25 runDb :: ServerM a -> IO a 25 runDb :: ServerM a -> IO a
26 runDb = runStderrLoggingT . withPostgresqlPool "" 5 . runReaderT 26 runDb = runStderrLoggingT . filterLogger (\_ lvl -> lvl >= LevelInfo) . withPostgresqlPool "" 5 . runReaderT
27 27
28 printers' = [ (pure $ genericPrint "/dev/usb/lp0", def :: QMConfig (ResourceT ServerM)) 28 printers' = [ (pure $ genericPrint "/dev/usb/lp0", def :: QMConfig (ResourceT ServerM))
29 ] 29 ]