show commmits

This commit is contained in:
sylor_huang@126.com 2020-07-03 17:35:35 +08:00
parent 2ecb227c30
commit 3594ea01d2
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ class RepositoriesController < ApplicationController
@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
Rails.logger.info("#####################_______hash_commit______############{@hash_commit}")
Rails.logger.info("#####################_______hash_commit_size______############{@hash_commit.size}")
end
def commit