mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 09:35:03 +00:00
Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)
This commit is contained in:
parent
556c07df1f
commit
9e3d24a150
|
@ -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…
Reference in a new issue