From 96c999a20f83b7f9f08c9864941eaccf5122bf7b Mon Sep 17 00:00:00 2001 From: Ivan Duplenskikh <115665590+ivanduplenskikh@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:07:40 +0100 Subject: [PATCH] Change AddBuildTagAsync to AddBuildTagsAsync to send tags as Body parameter --- src/Agent.Worker/Build/BuildServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Agent.Worker/Build/BuildServer.cs b/src/Agent.Worker/Build/BuildServer.cs index 50e09234e6..a77241db70 100644 --- a/src/Agent.Worker/Build/BuildServer.cs +++ b/src/Agent.Worker/Build/BuildServer.cs @@ -117,7 +117,7 @@ public async Task> AddBuildTag( string buildTag, CancellationToken cancellationToken = default(CancellationToken)) { - return await _buildHttpClient.AddBuildTagAsync(projectId, buildId, buildTag, cancellationToken: cancellationToken); + return await _buildHttpClient.AddBuildTagsAsync(new[] { buildTag }, projectId, buildId, cancellationToken: cancellationToken); } } }