From 7c8a610c57892eda0fbd0fee38c7cbb99d0d81b3 Mon Sep 17 00:00:00 2001 From: "Turner, Dan" Date: Mon, 15 Sep 2014 18:42:50 +1000 Subject: [PATCH] fix: Use the correct overload of TeamCityCaller where a return object is not needed Fixes #48 --- src/TeamCitySharp/ActionTypes/BuildConfigs.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TeamCitySharp/ActionTypes/BuildConfigs.cs b/src/TeamCitySharp/ActionTypes/BuildConfigs.cs index cdcd4a0f..cafd67e5 100644 --- a/src/TeamCitySharp/ActionTypes/BuildConfigs.cs +++ b/src/TeamCitySharp/ActionTypes/BuildConfigs.cs @@ -101,12 +101,12 @@ public void SetConfigurationPauseStatus(BuildTypeLocator locator, bool isPaused) public void PostRawArtifactDependency(BuildTypeLocator locator, string rawXml) { - _caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, string.Empty, "/app/rest/buildTypes/{0}/artifact-dependencies", locator); + _caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/artifact-dependencies", locator); } public void PostRawBuildStep(BuildTypeLocator locator, string rawXml) { - _caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, string.Empty, "/app/rest/buildTypes/{0}/steps", locator); + _caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/steps", locator); } public void PostRawBuildTrigger(BuildTypeLocator locator, string rawXml)