Refactoring the code by calling the GetAll with the ApiOption.None in one of the overloads

This commit is contained in:
Abdelkhalek Oussama Elhamer
2016-03-26 03:23:42 +01:00
parent b88223109b
commit 06ab549f75
@@ -31,8 +31,8 @@ namespace Octokit.Reactive
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(name, "name");
Ensure.ArgumentNotNullOrEmptyString(reference, "reference");
return _connection.GetAndFlattenAllPages<CommitStatus>(ApiUrls.CommitStatuses(owner, name, reference));
return GetAll(owner, name ,reference, ApiOptions.None);
}
/// <summary>