mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

* Fix undefined method error in sidekiq Body can be not nil but still be empty, which causes a `NoMethodError: undefined method `[]' for nil:NilClass` further in the code. This checks for an empty body to avoid the issue. * Fix codeclimate issue