mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Fix serialization of 2025 wrapstodon reports (#37103)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user