This commit is contained in:
2023-02-02 18:13:02 +08:00
parent 9fe3b5ae3e
commit 87412643cd

View File

@@ -2,7 +2,7 @@ class Api::V1::Projects::CodeStatsController < Api::V1::BaseController
before_action :require_public_and_member_above, only: [:index]
def index
@result_object = Api::V1::Projects::CodeStats::ListService.call(@project, {page: page, limit, limit, ref: params[:ref]}, current_user&.gitea_token)
@result_object = Api::V1::Projects::CodeStats::ListService.call(@project, {page: page, limit: limit, ref: params[:ref]}, current_user&.gitea_token)
puts @result_object
end
end