aboutsummaryrefslogtreecommitdiff
path: root/hsm-command/Main.hs
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-01-17 14:37:20 -0800
committerPaul Oliver <contact@pauloliver.dev>2025-01-17 19:16:43 -0800
commitebb88408c1d0884b5ca9b7d68bf76d31c33d2e5b (patch)
treec7c2c6b636e8eb89f2d4c6accf77a8c671b8ab9f /hsm-command/Main.hs
parentdc6bf1472c930ff1448c419d3205148bce1b787e (diff)
Allows services to publish different topicsHEADmaster
Diffstat (limited to 'hsm-command/Main.hs')
-rw-r--r--hsm-command/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hsm-command/Main.hs b/hsm-command/Main.hs
index efcbc6e..d135e53 100644
--- a/hsm-command/Main.hs
+++ b/hsm-command/Main.hs
@@ -26,7 +26,7 @@ $(deriveFromYaml ''Env)
main :: IO ()
main =
launch @Env "command" id $ \env logger level ->
- (commandStream & send @Env)
+ (commandStream @Env & send)
& runServer @Env
& runLog env.name logger level
& runReader env