From d95aecacca65de52846fa3c8de0a59669457b8c1 Mon Sep 17 00:00:00 2001 From: artaasadi Date: Fri, 20 Dec 2024 01:37:11 +0100 Subject: [PATCH] fix: get multiple parameters in task --- pkg/tasks/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/tasks/types.go b/pkg/tasks/types.go index 4bf6a1b..09d4485 100644 --- a/pkg/tasks/types.go +++ b/pkg/tasks/types.go @@ -1,10 +1,10 @@ package tasks type TaskDefinition struct { - RunID uint `json:"runId"` - TaskType string `json:"taskType"` - ResultType string `json:"resultType"` - Params map[string]string `json:"params"` + RunID uint `json:"runId"` + TaskType string `json:"taskType"` + ResultType string `json:"resultType"` + Params map[string][]string `json:"params"` } type TaskRequest struct {