]> cat aescling's git repositories - mastodon.git/commit
Change conditional to avoid nil into string error in sidekiq (#5987)
authorRenato "Lond" Cerqueira <renato@lond.com.br>
Tue, 12 Dec 2017 14:11:13 +0000 (15:11 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 12 Dec 2017 14:11:13 +0000 (15:11 +0100)
commitfe180f18ff38a01007842ccff293a84a63336aae
treeedd1311bf1cc3a0a6ca13c7c092cbda5d1668d63
parent1486fd64cc73d1efb713ad3801cb8ae7acc0de1f
Change conditional to avoid nil into string error in sidekiq (#5987)

* Change conditional to avoid nil into string error in sidekiq
When obtaining information about users with mastodon in a different
subdomain, sidekiq was giving out a 'no implicit conversion of nil into String'

* Use presence instead of blank? with ternary.
Following suggestion on PR
app/services/fetch_remote_status_service.rb