forked from treehouse/mastodon
Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
parent
556c07df1f
commit
9e3d24a150
|
@ -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 New Issue