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-24 16:36:25 -0800
commit85d856e87ad7875e5dfab19e22e71c4118f4cbad (patch)
tree847f9a98d2df8149af603840ad58790148328ccb /hsm-command/Main.hs
parentfb1a7300be93ef3269053453d3676df8d5cb0f21 (diff)
Allows services to publish different topics
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