mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Fix serialization of annual reports with share code (#37104)
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class REST::AnnualReportSerializer < ActiveModel::Serializer
|
class REST::AnnualReportSerializer < ActiveModel::Serializer
|
||||||
|
include RoutingHelper
|
||||||
|
|
||||||
attributes :year, :data, :schema_version, :share_url
|
attributes :year, :data, :schema_version, :share_url
|
||||||
|
|
||||||
def share_url
|
def share_url
|
||||||
|
|||||||
Reference in New Issue
Block a user