修改commit返回的用户

This commit is contained in:
sylor_huang@126.com
2020-06-02 15:57:06 +08:00
parent d1089a4a4b
commit f54c374c78
3 changed files with 11 additions and 2 deletions

View File

@@ -44,7 +44,6 @@ 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