Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
This commit is contained in:
parent
a766ece166
commit
bf1d4a2cb9
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module AccountFinderConcern
|
|||
end
|
||||
|
||||
def with_usernames
|
||||
Account.where.not(username: [nil, ''])
|
||||
Account.where.not(username: '')
|
||||
end
|
||||
|
||||
def matching_username
|
||||
|
|
Loading…
Reference in a new issue