diff --git a/tools/enums.go b/tools/enums.go index 1bcda51..46acdc1 100644 --- a/tools/enums.go +++ b/tools/enums.go @@ -140,9 +140,10 @@ func DataTypeList() []DataType { } type PropalgationMessage struct { - User string `json:"user"` - Action PubSubAction `json:"action"` - Payload []byte `json:"payload"` + DataType int `json:"datatype"` + User string `json:"user"` + Action PubSubAction `json:"action"` + Payload []byte `json:"payload"` } type PubSubAction int