Skip to content

Commit

Permalink
bug fix on api URL change
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Nov 14, 2021
1 parent 8f451e6 commit 9e8ec07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gettask.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type TaskRequest struct {
//BuildPath creates the API path for a task request
func (t TaskRequest) BuildPath() string {
if !t.CustomTask {
return fmt.Sprintf("%stask/%s/?include_subtasks=%t",
return fmt.Sprintf("%s/task/%s/?include_subtasks=%t",
prodAPIbaseV2, t.TaskID, t.Subtasks)
} else {
return fmt.Sprintf("%s/task/%s/?custom_task_ids=%t&team_id=%s&include_subtasks=%t",
Expand Down

0 comments on commit 9e8ec07

Please sign in to comment.