Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Commit e6a698d

Browse files
author
Turner, Dan
committed
fix: Use the correct overload of TeamCityCaller where a return object is not needed
Fixes #48
1 parent 5440a71 commit e6a698d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TeamCitySharp/ActionTypes/BuildConfigs.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ public void SetConfigurationPauseStatus(BuildTypeLocator locator, bool isPaused)
101101

102102
public void PostRawArtifactDependency(BuildTypeLocator locator, string rawXml)
103103
{
104-
_caller.PostFormat<ArtifactDependency>(rawXml, HttpContentTypes.ApplicationXml, string.Empty, "/app/rest/buildTypes/{0}/artifact-dependencies", locator);
104+
_caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/artifact-dependencies", locator);
105105
}
106106

107107
public void PostRawBuildStep(BuildTypeLocator locator, string rawXml)
108108
{
109-
_caller.PostFormat<BuildConfig>(rawXml, HttpContentTypes.ApplicationXml, string.Empty, "/app/rest/buildTypes/{0}/steps", locator);
109+
_caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/steps", locator);
110110
}
111111

112112
public void PostRawBuildTrigger(BuildTypeLocator locator, string rawXml)

0 commit comments

Comments
 (0)