Skip to content

Commit

Permalink
fix: Use the correct overload of TeamCityCaller where a return object…
Browse files Browse the repository at this point in the history
… is not needed

Fixes stack72#48
  • Loading branch information
Turner, Dan committed Sep 15, 2014
1 parent 5440a71 commit 7c8a610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TeamCitySharp/ActionTypes/BuildConfigs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ public void SetConfigurationPauseStatus(BuildTypeLocator locator, bool isPaused)

public void PostRawArtifactDependency(BuildTypeLocator locator, string rawXml)
{
_caller.PostFormat<ArtifactDependency>(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<BuildConfig>(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)
Expand Down

0 comments on commit 7c8a610

Please sign in to comment.