summaryrefslogtreecommitdiff
path: root/lib/api/applications.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-05 21:09:08 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-05 21:09:08 +0000
commit91264a675246bc77a83322a2eff560eeaba7ce9a (patch)
tree583b137c7c03ece1be11f35de7b39b8b3f7e4560 /lib/api/applications.rb
parent51bc2d8e703f667483505f0e3d074f442e1f48e6 (diff)
downloadgitlab-ce-91264a675246bc77a83322a2eff560eeaba7ce9a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/applications.rb')
-rw-r--r--lib/api/applications.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb
index 70488621f33..4048215160f 100644
--- a/lib/api/applications.rb
+++ b/lib/api/applications.rb
@@ -41,6 +41,9 @@ module API
end
desc 'Delete an application'
+ params do
+ requires :id, type: Integer, desc: 'The ID of the application (not the application_id)'
+ end
delete ':id' do
application = ApplicationsFinder.new(params).execute
break not_found!('Application') unless application