diff options
author | JB Vasseur <jvasseur@gmail.com> | 2018-10-18 03:37:45 +0300 |
---|---|---|
committer | JB Vasseur <jvasseur@gmail.com> | 2018-10-18 03:37:45 +0300 |
commit | deeeffe09dfd331bc6068cea23346a35ef46ff45 (patch) | |
tree | 30a2285432f5d1350cf7ba66e4f159981b1cf05f /app/finders | |
parent | 84b69a95bbe110cb688b7b6b6f20a53ff3819c89 (diff) |
Source cleaning !22296
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/applications_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/applications_finder.rb b/app/finders/applications_finder.rb index 14bd35105d2..88b1d17cf19 100644 --- a/app/finders/applications_finder.rb +++ b/app/finders/applications_finder.rb @@ -9,7 +9,7 @@ class ApplicationsFinder # rubocop: disable CodeReuse/ActiveRecord def execute - applications = Doorkeeper::Application.where("owner_id IS NULL") + applications = Doorkeeper::Application.where(owner_id: nil) by_id(applications) end # rubocop: enable CodeReuse/ActiveRecord |