Serialize status webhook events in REST API format (#24243)

This commit is contained in:
Vyr Cossont authored and GitHub committed 2023-03-27 09:14:21 +02:00
1 parent 5b7898230e
commit 88fc04d3d7
1 file changed
+2
@@ -7,6 +7,8 @@ class REST::Admin::WebhookEventSerializer < ActiveModel::Serializer
REST::Admin::AccountSerializer
when 'Report'
REST::Admin::ReportSerializer
when 'Status'
REST::StatusSerializer
else
super
end