Improve call for retrieving all applications !22296

This commit is contained in:
JB Vasseur 2018-10-12 09:40:11 +09:00
parent 2122727468
commit 23d70f6281

View file

@ -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