From 1c9d7b63c0b31cc493a7505c6150d6ebb0d2ddb1 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 28 Jan 2026 15:08:07 +0100 Subject: [PATCH] NATSResponse --- tools/nats_caller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nats_caller.go b/tools/nats_caller.go index adc6af3..b5ba946 100644 --- a/tools/nats_caller.go +++ b/tools/nats_caller.go @@ -92,7 +92,7 @@ func (s *natsCaller) ListenNats(execs map[NATSMethod]func(map[string]string)) { } // SetNATSPub sets a message to the NATS server -func (o *natsCaller) SetNATSPub(method NATSMethod, data interface{}) string { +func (o *natsCaller) SetNATSPub(method NATSMethod, data NATSResponse) string { if config.GetConfig().NATSUrl == "" { return " -> NATS_SERVER is not set" }