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

This commit is contained in:
Vyr Cossont 2023-03-27 00:14:21 -07:00 committed by GitHub
parent 48befe5dbd
commit 13db7d0075

View file

@ -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