Skip to content

Commit

Permalink
Fix: Transmit event-id as string
Browse files Browse the repository at this point in the history
in order to compensate for i.e. CRDB very large IDs being truncated in
JSON transmit

Signed-off-by: Knut Ahlers <knut@ahlers.me>
  • Loading branch information
Luzifer committed Jul 26, 2024
1 parent d1d0f99 commit 0f8e6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apimodules/overlays/overlays.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type (

// socketMessage represents the message overlay sockets will receive
socketMessage struct {
EventID uint64 `json:"event_id"`
EventID uint64 `json:"event_id,string"`
IsLive bool `json:"is_live"`
Reason sendReason `json:"reason"`
Time time.Time `json:"time"`
Expand Down

0 comments on commit 0f8e6f6

Please sign in to comment.