change some

This commit is contained in:
sylor_huang@126.com 2020-06-30 10:07:12 +08:00
parent 999006fba7
commit 961a09a945
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class PullRequestsController < ApplicationController
if @issue.update_attributes(@issue_params)
if @pull_request.update_attributes(@local_params.compact)
gitea_request = Gitea::PullRequest::UpdateService.new(current_user, @repository.try(:identifier), @requests_params, @pull_request.try(:gpid)).call
gitea_request = Gitea::PullRequest::UpdateService.new(@project.owner, @repository.try(:identifier), @requests_params, @pull_request.try(:gpid)).call
if gitea_request
if params[:issue_tag_ids].present?
params[:issue_tag_ids].each do |tag|