Commit 23d70f62 authored by JB Vasseur's avatar JB Vasseur

Improve call for retrieving all applications !22296

parent 21227274
......@@ -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
......
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