Skip to content

Commit

Permalink
Fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklyp committed Sep 6, 2024
1 parent 3a16944 commit b45fef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.run(params)
return
end

assignee_id = task.assignee.gid
assignee_id = task.assignee["gid"]
Helper::GitHubActionsHelper.set_output("asana_assignee_id", assignee_id)
assignee_id
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def self.run(params)
end

begin
subtasks = asana_client.tasks.get_subtasks_for_task(task_gid: task_id, opt_fields: ["name", "created_at"])
subtasks = asana_client.tasks.get_subtasks_for_task(task_gid: task_id, options: { fields: ["name", "created_at"] })
rescue StandardError => e
UI.user_error!("Failed to fetch 'Automation' subtasks for task #{task_id}: #{e}")
return
Expand Down

0 comments on commit b45fef2

Please sign in to comment.