Upgrade rubocop-rails from 2.33.4 to 2.34.2 and address related offenses (#37243)

This commit is contained in:
Nicholas La Roux authored and GitHub committed 2025-12-15 12:57:16 +00:00
1 parent 5fa7654688
commit 09ab2829da
7 files changed
+8 -8

No files matched your search

@@ -39,7 +39,7 @@ class ActivityPub::InboxesController < ActivityPub::BaseController
return @body if defined?(@body)
@body = request.body.read
@body.force_encoding('UTF-8') if @body.present?
@body.presence&.force_encoding('UTF-8')
request.body.rewind if request.body.respond_to?(:rewind)