refactor subscribe (#4)
* ✨ Refactor nats subscribe method and remove unused argument. * ✨ Add logging for message insertion 📝
This commit is contained in:
+1
-1
@@ -83,6 +83,6 @@ func executeListen(c *cli.Context) error {
|
||||
log := utils.GetLogger()
|
||||
log.Info("Starting nats subscriber")
|
||||
// handler := handlers.New(cfg)
|
||||
nats.Subscribe(cfg, &nats.PlainTextMarshaler{})
|
||||
nats.Subscribe(cfg)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user