Fix missing cast of status and rule IDs to string (fix #19048) (#20122)

th-downstream
trwnh 2 years ago committed by GitHub
parent 9596a1374d
commit c8933e9275

@ -9,4 +9,12 @@ class REST::ReportSerializer < ActiveModel::Serializer
def id def id
object.id.to_s object.id.to_s
end end
def status_ids
object&.status_ids&.map(&:to_s)
end
def rule_ids
object&.rule_ids&.map(&:to_s)
end
end end

Loading…
Cancel
Save