Skip to content

Commit

Permalink
Updates AddTask
Browse files Browse the repository at this point in the history
  • Loading branch information
CGoodwin90 committed Apr 24, 2024
1 parent 25b24b0 commit a1daa91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/lagoon/client/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ func (c *Client) AddTask(ctx context.Context, environmentID uint, task schema.Ta
req, err := c.newRequest("_lgraphql/tasks/addTask.graphql",
map[string]interface{}{
"environment": environmentID,
"task": task,
"name": task.Name,
"command": task.Command,
"service": task.Service,
})
if err != nil {
return err
Expand Down

0 comments on commit a1daa91

Please sign in to comment.