From 26b83982cf292534d9614c73363957700a379fcf Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Mon, 21 Dec 2020 12:14:47 +0100 Subject: [PATCH] Fix copy-paste error --- src/YouTrackSharp/Issues/IssuesService.Attachments.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/YouTrackSharp/Issues/IssuesService.Attachments.cs b/src/YouTrackSharp/Issues/IssuesService.Attachments.cs index b1fa1ea8..4b4afbcf 100644 --- a/src/YouTrackSharp/Issues/IssuesService.Attachments.cs +++ b/src/YouTrackSharp/Issues/IssuesService.Attachments.cs @@ -37,7 +37,7 @@ public async Task AttachFileToIssue(string issueId, string attachmentName, Strea { queryString.Add($"group={group}"); } - if (!string.IsNullOrEmpty(group)) + if (!string.IsNullOrEmpty(author)) { queryString.Add($"author={author}"); }