Improve call for retrieving all applications !22296
This commit is contained in:
parent
2122727468
commit
23d70f6281
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue