Commit 9e3d24a1 authored by ysksn's avatar ysksn Committed by Eugen Rochko

Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)

parent 556c07df
......@@ -44,7 +44,7 @@ module AccountFinderConcern
end
def with_usernames
Account.where.not(username: [nil, ''])
Account.where.not(username: '')
end
def matching_username
......
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