From 9fe9e18c1549dd36b88028bf04bcffe0c5120dc5 Mon Sep 17 00:00:00 2001 From: r4ulcl Date: Sat, 3 Feb 2024 16:34:05 +0000 Subject: [PATCH] Fix add config to function --- worker/websockets/websockets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/websockets/websockets.go b/worker/websockets/websockets.go index 1f0ac87..1d38714 100644 --- a/worker/websockets/websockets.go +++ b/worker/websockets/websockets.go @@ -43,7 +43,7 @@ func GetMessage(config *utils.WorkerConfig, status *globalstructs.WorkerStatus, switch msg.Type { case "status": - response, err = messageStatusTask(status, msg, verbose, debug) + response, err = messageStatusTask(config, status, msg, verbose, debug) if err != nil { log.Println("status error: ", err) }