Fix rubocop
This commit is contained in:
parent
6b59ce6985
commit
efa0c376bc
23 changed files with 32 additions and 32 deletions
|
@ -394,7 +394,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def add_status_referred_by_count!(diff)
|
||||
update_status_stat!(status_referred_by_count: [public_send(:status_referred_by_count) + diff, 0].max)
|
||||
update_status_stat!(status_referred_by_count: [status_referred_by_count + diff, 0].max)
|
||||
end
|
||||
|
||||
def emoji_reactions_grouped_by_name(account = nil, **options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue