diff --git a/app/controllers/pull_requests_controller.rb b/app/controllers/pull_requests_controller.rb index f5b27526..dec45137 100644 --- a/app/controllers/pull_requests_controller.rb +++ b/app/controllers/pull_requests_controller.rb @@ -188,7 +188,7 @@ class PullRequestsController < ApplicationController ActiveRecord::Base.transaction do begin requests_params = { - do: params[:do], + Do: params[:do], MergeMessageField: params[:body], MergeTitleField: params[:title] } diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 957856cd..ccc49574 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -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