From 133f9093b06297bdca2c07ad14cba2dd784dd59e Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Wed, 11 Sep 2024 23:03:53 +0200 Subject: [PATCH] Address PR comments --- .../actions/asana_extract_task_assignee_action.rb | 2 +- .../plugin/ddg_apple_automation/actions/asana_upload_action.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_extract_task_assignee_action.rb b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_extract_task_assignee_action.rb index d7b86d5..8f23d3b 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_extract_task_assignee_action.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_extract_task_assignee_action.rb @@ -16,7 +16,7 @@ def self.run(params) end begin - task = client.tasks.get_task(task_gid: task_id) + task = client.tasks.get_task(task_gid: task_id, options: { fields: ["assignee"] }) rescue StandardError => e UI.user_error!("Failed to fetch task assignee: #{e}") return diff --git a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_upload_action.rb b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_upload_action.rb index ff68d49..958913a 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_upload_action.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_upload_action.rb @@ -48,7 +48,7 @@ def self.available_options optional: false, type: String), FastlaneCore::ConfigItem.new(key: :file_name, - description: "Path to a file that will be uploaded", + description: "Path to the file that will be uploaded", optional: false, type: String) ]