From 97cf629e27ecc05a87ea98134dec6d044b3d844f Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 28 Jan 2026 17:27:02 +0100 Subject: [PATCH] moove user from propalgation to Nats Response --- tools/enums.go | 1 - tools/nats_caller.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/enums.go b/tools/enums.go index 46acdc1..47bffa1 100644 --- a/tools/enums.go +++ b/tools/enums.go @@ -141,7 +141,6 @@ func DataTypeList() []DataType { type PropalgationMessage struct { DataType int `json:"datatype"` - User string `json:"user"` Action PubSubAction `json:"action"` Payload []byte `json:"payload"` } diff --git a/tools/nats_caller.go b/tools/nats_caller.go index 0e57ad2..ffa4f2d 100644 --- a/tools/nats_caller.go +++ b/tools/nats_caller.go @@ -15,6 +15,7 @@ import ( type NATSResponse struct { FromApp string `json:"from_app"` Datatype DataType `json:"datatype"` + User string `json:"user"` Method int `json:"method"` Payload []byte `json:"payload"` }