diff options
author | JB Vasseur <jvasseur@gmail.com> | 2018-10-12 09:40:11 +0900 |
---|---|---|
committer | JB Vasseur <jvasseur@gmail.com> | 2018-10-12 09:40:11 +0900 |
commit | 23d70f6281f7c099ff7ce5b9abe40d7afd5ab668 (patch) | |
tree | 6acdf5456db188094c271fa645cc712c24ba3b95 /lib | |
parent | 2122727468a42bf8b5b4c0e7cb18b528cf4ea4ab (diff) | |
download | gitlab-ce-23d70f6281f7c099ff7ce5b9abe40d7afd5ab668.tar.gz |
Improve call for retrieving all applications !22296
Diffstat (limited to 'lib')
-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 1c940af95d7..8d83684e3a9 100644 --- a/lib/api/applications.rb +++ b/lib/api/applications.rb @@ -29,7 +29,7 @@ module API success Entities::ApplicationWithSecret end get do - applications = Doorkeeper::Application.all + applications = Doorkeeper::Application.where("owner_id IS NULL") present applications, with: Entities::Application end |