diff --git a/src/off_topic/internal/runtime.gleam b/src/off_topic/internal/runtime.gleam index d0d8d69..99831d0 100644 --- a/src/off_topic/internal/runtime.gleam +++ b/src/off_topic/internal/runtime.gleam @@ -767,7 +767,7 @@ fn cleanup(state, path, effects) { #("name", json.string(name)), #("path", json.array(list.reverse(path), json.int)), ]) - [event.emit("off-topic-unsubscribe", details), ..effects] + [event.emit("off-topic:unsubscribe", details), ..effects] } Group(children) -> fold_children(children, 0, path, effects, cleanup) }