Skip to content

Commit

Permalink
Fix copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenba committed Dec 21, 2020
1 parent 91fe481 commit b1ff796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YouTrackSharp/Issues/IssuesService.Attachments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
}
Expand Down

0 comments on commit b1ff796

Please sign in to comment.