Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)

master
ysksn 7 years ago committed by Eugen Rochko
parent 556c07df1f
commit 9e3d24a150
  1. 2
      app/models/concerns/account_finder_concern.rb

@ -44,7 +44,7 @@ module AccountFinderConcern
end end
def with_usernames def with_usernames
Account.where.not(username: [nil, '']) Account.where.not(username: '')
end end
def matching_username def matching_username

Loading…
Cancel
Save