Skip to content

Commit

Permalink
fix: get multiple parameters in task
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Dec 20, 2024
1 parent 89b0980 commit d95aeca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/tasks/types.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit d95aeca

Please sign in to comment.