Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f5290fa

Browse files
committed
Minor changes to Changeset API
1 parent 6f4298a commit f5290fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BitbucketSharp/Controllers/ChangesetController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public ChangesetModel GetInfo(bool forceCacheInvalidation = false)
9999
/// /Gets the diffs
100100
/// </summary>
101101
/// <returns></returns>
102-
public IList<ChangesetDiffModel> GetDiffs(bool forceCacheInvalidation = false)
102+
public List<ChangesetDiffModel> GetDiffs(bool forceCacheInvalidation = false)
103103
{
104104
return Client.Get<List<ChangesetDiffModel>>(Uri + "/" + Node + "/diffstat", forceCacheInvalidation);
105105
}

BitbucketSharp/Models/ChangesetModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ChangesetDiffModel
3636
{
3737
public string Type { get; set; }
3838
public string File { get; set; }
39-
public List<DiffModel> Diffstat { get; set; }
39+
public DiffModel Diffstat { get; set; }
4040

4141
public class DiffModel
4242
{

0 commit comments

Comments
 (0)