Commit abf7c10b authored by JB Vasseur's avatar JB Vasseur

Do not return secret from GET /applications !22296

parent 1dbbd0b9
...@@ -27,7 +27,7 @@ module API ...@@ -27,7 +27,7 @@ module API
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
desc 'Get applications' do desc 'Get applications' do
success Entities::ApplicationWithSecret success Entities::Application
end end
get do get do
applications = Doorkeeper::Application.where("owner_id IS NULL") applications = Doorkeeper::Application.where("owner_id IS NULL")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment