diff --git a/cmd/eksterd/memory.go b/cmd/eksterd/memory.go index 06ae5d6..8457328 100644 --- a/cmd/eksterd/memory.go +++ b/cmd/eksterd/memory.go @@ -642,8 +642,8 @@ func (b *memoryBackend) channelAddItem(channel string, item microsub.Item) error added, err := timelineBackend.AddItem(item) type newItemMessage struct { - Item microsub.Item - Channel string + Item microsub.Item `json:"item"` + Channel string `json:"channel"` } // Sent message to Server-Sent-Events