mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 14:11:42 +08:00
项目贡献排行分页参数3年内
This commit is contained in:
@@ -6,7 +6,7 @@ class Api::V1::Projects::Contributors::StatService < ApplicationService
|
||||
def initialize(project, params, token=nil)
|
||||
@project = project
|
||||
@branch = params[:branch]
|
||||
@pass_year = params[:pass_year]
|
||||
@pass_year = params[:pass_year] || 3
|
||||
@page = params[:page] || 1
|
||||
@limit = params[:limit] || 15
|
||||
@owner = project&.owner.login
|
||||
|
||||
Reference in New Issue
Block a user