Fix serialization of 2025 wrapstodon reports (#37103)
This commit is contained in:
parent
e222664539
commit
c97d25fcbd
@ -29,7 +29,12 @@ class GeneratedAnnualReport < ApplicationRecord
|
||||
end
|
||||
|
||||
def account_ids
|
||||
data['most_reblogged_accounts'].pluck('account_id') + data['commonly_interacted_with_accounts'].pluck('account_id')
|
||||
case schema_version
|
||||
when 1
|
||||
data['most_reblogged_accounts'].pluck('account_id') + data['commonly_interacted_with_accounts'].pluck('account_id')
|
||||
when 2
|
||||
[]
|
||||
end
|
||||
end
|
||||
|
||||
def status_ids
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user