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

Commit ef547ff

Browse files
author
Turner, Dan
committed
fix: Addressing an API consistency issue
Fixes #47
1 parent 5440a71 commit ef547ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/TeamCitySharp/ActionTypes/BuildConfigs.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ public void DeleteSnapshotDependency(BuildTypeLocator locator, string snapshotDe
198198
_caller.DeleteFormat("/app/rest/buildTypes/{0}/snapshot-dependencies/{1}", locator, snapshotDependencyId);
199199
}
200200

201-
public void PostRawSnapshotDependency(BuildTypeLocator locator, XmlElement rawXml)
201+
public void PostRawSnapshotDependency(BuildTypeLocator locator, string rawXml)
202202
{
203-
_caller.PostFormat(rawXml.OuterXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/snapshot-dependencies", locator);
203+
_caller.PostFormat(rawXml, HttpContentTypes.ApplicationXml, "/app/rest/buildTypes/{0}/snapshot-dependencies", locator);
204204
}
205205

206206
public BuildConfig BuildType(BuildTypeLocator locator)

src/TeamCitySharp/ActionTypes/IBuildConfigs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public interface IBuildConfigs
6161
/// </snapshot-dependency>
6262
/// ]]></code>
6363
/// </summary>
64-
void PostRawSnapshotDependency(BuildTypeLocator locator, XmlElement rawXml);
64+
void PostRawSnapshotDependency(BuildTypeLocator locator, string rawXml);
6565

6666
/// <summary>
6767
/// <para>Locates a build type by its locator.</para>

0 commit comments

Comments
 (0)