diff --git a/go/process/event_hub.go b/go/process/event_hub.go index 9d6485d0..2aee806b 100644 --- a/go/process/event_hub.go +++ b/go/process/event_hub.go @@ -13,6 +13,7 @@ import ( "github.com/nats-io/nats.go" "github.com/nats-io/nats.go/jetstream" + "git.novox.be/novox/mesh-sdk/go/buscompose" "git.novox.be/novox/mesh-sdk/go/seatdef" ) @@ -168,7 +169,7 @@ func (h *EventHub) Patterns() []string { // the hub binds again each stream it has not bound (design 47 H2b ยง836 2., H-A-835). The subject is the seat's definition's // alone: the hub reads no body. func durablesComposedSubject(cred Account) string { - return seatdef.EventSubject("mesh-grants", "durables-composed") + "." + cred.Node + "." + cred.Module + return seatdef.EventSubject(buscompose.GrantsModule, "durables-composed") + "." + cred.Node + "." + cred.Module } // Start binds the module's durable `_` on the shared events stream and on every kept seat event's stream