diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-07-18 23:32:40 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-07-19 21:11:59 +0300 |
commit | d9b334d2afe787c6a935891130ac646bbf25113a (patch) | |
tree | 7074d3e58dde00aa992a63ea57d5d86ab18f0b39 /app/helpers/triggers_helper.rb | |
parent | 1df5380ef91022c640490290e18dca19f10a505c (diff) |
Recommend using V4 API on chat slash command integrations
Diffstat (limited to 'app/helpers/triggers_helper.rb')
-rw-r--r-- | app/helpers/triggers_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/triggers_helper.rb b/app/helpers/triggers_helper.rb index a48d4475e97..ce435ca2241 100644 --- a/app/helpers/triggers_helper.rb +++ b/app/helpers/triggers_helper.rb @@ -8,6 +8,6 @@ module TriggersHelper end def service_trigger_url(service) - "#{Settings.gitlab.url}/api/v3/projects/#{service.project_id}/services/#{service.to_param}/trigger" + "#{Settings.gitlab.url}/api/v4/projects/#{service.project_id}/services/#{service.to_param}/trigger" end end |