修改commit

This commit is contained in:
sylor_huang@126.com 2020-06-02 15:58:30 +08:00
parent f54c374c78
commit 226f611bc8
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class RepositoriesController < ApplicationController
end
def commits
@project_owner = @project.owner
@hash_commit = Gitea::Repository::Commits::ListService.new(@project_owner.login, @project.identifier,
sha: params[:sha], page: params[:page], limit: params[:limit], token: current_user&.gitea_token).call
end