HH-564: harden durable realtime publish boundaries (#139)
* fix(HH-564): harden durable realtime enqueue * fix(HH-564): wire production SSE stream --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -289,7 +289,7 @@ func (h *ContactHandler) publishContactEvent(accountID uint, eventType string, c
|
||||
if h.eventPublisher == nil || contact == nil {
|
||||
return
|
||||
}
|
||||
h.eventPublisher.PublishEvent(accountID, eventType, serializeCRMContact(context.Background(), h.svc.DB(), contact, true))
|
||||
publishRealtimeEvent(h.eventPublisher, accountID, eventType, serializeCRMContact(context.Background(), h.svc.DB(), contact, true))
|
||||
}
|
||||
|
||||
// @Summary Delete a contact
|
||||
|
||||
Reference in New Issue
Block a user