fix: add WrapUp events to NATS subject mapping

This commit is contained in:
2026-06-02 22:09:57 +02:00
parent b171d2d1e2
commit ac05cdfeaf

View File

@@ -16,6 +16,8 @@ pub fn event_to_subject(prefix: &str, event: &DomainEvent) -> String {
DomainEvent::BackfillFollower { .. } => "backfill.follower", DomainEvent::BackfillFollower { .. } => "backfill.follower",
DomainEvent::FederationDeliveryRequested { .. } => "federation.delivery.requested", DomainEvent::FederationDeliveryRequested { .. } => "federation.delivery.requested",
DomainEvent::WatchEventIngested { .. } => "watch.event.ingested", DomainEvent::WatchEventIngested { .. } => "watch.event.ingested",
DomainEvent::WrapUpRequested { .. } => "wrapup.requested",
DomainEvent::WrapUpCompleted { .. } => "wrapup.completed",
}; };
format!("{prefix}.{suffix}") format!("{prefix}.{suffix}")
} }