Skip to content

Commit

Permalink
Fix add config to function
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ulcl committed Feb 3, 2024
1 parent 4a95ad2 commit 9fe9e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/websockets/websockets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9fe9e18

Please sign in to comment.