diff options
author | JB Vasseur <jvasseur@gmail.com> | 2018-10-12 12:33:58 +0300 |
---|---|---|
committer | JB Vasseur <jvasseur@gmail.com> | 2018-10-12 12:33:58 +0300 |
commit | abf7c10b67cfd7827370b25f1e4c64a3f615670b (patch) | |
tree | b149b1769663ba85325922c8ab5b4149f5315821 /lib/api/applications.rb | |
parent | 1dbbd0b9b01050ef929780474153dfc57a57efdc (diff) |
Do not return secret from GET /applications !22296
Diffstat (limited to 'lib/api/applications.rb')
-rw-r--r-- | lib/api/applications.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb index 048e7bc81f9..9d0f7a093d5 100644 --- a/lib/api/applications.rb +++ b/lib/api/applications.rb @@ -27,7 +27,7 @@ module API # rubocop: disable CodeReuse/ActiveRecord desc 'Get applications' do - success Entities::ApplicationWithSecret + success Entities::Application end get do applications = Doorkeeper::Application.where("owner_id IS NULL") |