diff options
Diffstat (limited to 'lib/api/triggers.rb')
-rw-r--r-- | lib/api/triggers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/triggers.rb b/lib/api/triggers.rb index 157f3cef1fd..119e9024712 100644 --- a/lib/api/triggers.rb +++ b/lib/api/triggers.rb @@ -114,7 +114,7 @@ module API params do requires :trigger_id, type: Integer, desc: 'The trigger ID' end - post ':id/triggers/:trigger_id/take' do + post ':id/triggers/:trigger_id/take_ownership' do authenticate! authorize! :admin_build, user_project |