mirror of
https://github.com/4sval/FModel.git
synced 2026-04-24 23:10:44 -05:00
commits limit increased
This commit is contained in:
parent
d48aea4744
commit
4385255426
|
|
@ -1,4 +1,4 @@
|
|||
using System.Threading.Tasks;
|
||||
using System.Threading.Tasks;
|
||||
using FModel.Framework;
|
||||
using FModel.ViewModels.ApiEndpoints.Models;
|
||||
using RestSharp;
|
||||
|
|
@ -9,7 +9,7 @@ public class GitHubApiEndpoint : AbstractApiProvider
|
|||
{
|
||||
public GitHubApiEndpoint(RestClient client) : base(client) { }
|
||||
|
||||
public async Task<GitHubCommit[]> GetCommitHistoryAsync(string branch = "dev", int page = 1, int limit = 20)
|
||||
public async Task<GitHubCommit[]> GetCommitHistoryAsync(string branch = "dev", int page = 1, int limit = 30)
|
||||
{
|
||||
var request = new FRestRequest(Constants.GH_COMMITS_HISTORY);
|
||||
request.AddParameter("sha", branch);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user