Fix serialization of annual reports with share code (#37104)

This commit is contained in:
Claire
2025-12-03 14:05:33 +01:00
committed by GitHub
parent c97d25fcbd
commit 08da9d8fc5

View File

@@ -1,6 +1,8 @@
# frozen_string_literal: true
class REST::AnnualReportSerializer < ActiveModel::Serializer
include RoutingHelper
attributes :year, :data, :schema_version, :share_url
def share_url