summaryrefslogtreecommitdiff
path: root/app/controllers/jira_connect
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-09 00:08:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-09 00:08:06 +0000
commit496e1ea9716836b3d8cb0d556d23692c0e68976b (patch)
tree21e174bd2159044d053ff74ba3b81b8041fcd6bf /app/controllers/jira_connect
parent1690313142e39075d231271bfdbc9ad95957106a (diff)
downloadgitlab-ce-496e1ea9716836b3d8cb0d556d23692c0e68976b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/jira_connect')
-rw-r--r--app/controllers/jira_connect/events_controller.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/jira_connect/events_controller.rb b/app/controllers/jira_connect/events_controller.rb
index 3569b233393..fa1e1f505eb 100644
--- a/app/controllers/jira_connect/events_controller.rb
+++ b/app/controllers/jira_connect/events_controller.rb
@@ -31,7 +31,10 @@ class JiraConnect::EventsController < JiraConnect::ApplicationController
end
def update_installation
- current_jira_installation.update(update_params)
+ JiraConnectInstallations::UpdateService.execute(
+ current_jira_installation,
+ update_params
+ ).success?
end
def create_params