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

th-downstream
Vyr Cossont 2 years ago committed by GitHub
parent 5b7898230e
commit 88fc04d3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,8 @@ class REST::Admin::WebhookEventSerializer < ActiveModel::Serializer
REST::Admin::AccountSerializer REST::Admin::AccountSerializer
when 'Report' when 'Report'
REST::Admin::ReportSerializer REST::Admin::ReportSerializer
when 'Status'
REST::StatusSerializer
else else
super super
end end

Loading…
Cancel
Save