From 9f5f720d4b57b32a9e671d6b78cc8842e531a043 Mon Sep 17 00:00:00 2001 From: joe-prosser Date: Fri, 27 Sep 2024 13:18:35 +0100 Subject: [PATCH] fix(cli): fix attachments not uploaded on sync (#319) --- CHANGELOG.md | 1 + cli/src/commands/create/comments.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b71eaa..eebd556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # v0.33.1 - Fix selection index issue on custom label trend reports +- Fix attachments not getting uploaded when syncing comments # v0.33.0 - add custom label trend report diff --git a/cli/src/commands/create/comments.rs b/cli/src/commands/create/comments.rs index 9431123..6d5fa85 100644 --- a/cli/src/commands/create/comments.rs +++ b/cli/src/commands/create/comments.rs @@ -389,7 +389,7 @@ fn upload_batch_of_comments( if let Some(attachments_dir) = attachments_dir { upload_attachments_for_comments( client, - comments_to_put, + comments_to_sync, attachments_dir, statistics, &source.id,