Skip to content

Commit

Permalink
fix: Addressing an API consistency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Turner, Dan committed Sep 15, 2014
1 parent 40f2571 commit e7248a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/TeamCitySharp/ActionTypes/BuildConfigs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ public void DeleteSnapshotDependency(BuildTypeLocator locator, string snapshotDe
_caller.DeleteFormat("/app/rest/buildTypes/{0}/snapshot-dependencies/{1}", locator, snapshotDependencyId);
}

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

public BuildConfig BuildType(BuildTypeLocator locator)
Expand Down
2 changes: 1 addition & 1 deletion src/TeamCitySharp/ActionTypes/IBuildConfigs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public interface IBuildConfigs
/// </snapshot-dependency>
/// ]]></code>
/// </summary>
void PostRawSnapshotDependency(BuildTypeLocator locator, XmlElement rawXml);
void PostRawSnapshotDependency(BuildTypeLocator locator, string rawXml);

/// <summary>
/// <para>Locates a build type by its locator.</para>
Expand Down

0 comments on commit e7248a7

Please sign in to comment.