Skip to content
Snippets Groups Projects
Commit 9e3d24a1 authored by ysksn's avatar ysksn Committed by Eugen Rochko
Browse files

Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)

parent 556c07df
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ module AccountFinderConcern
end
def with_usernames
Account.where.not(username: [nil, ''])
Account.where.not(username: '')
end
def matching_username
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment