1
0
Fork 0
forked from fedi/mastodon

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 5b7898230e
commit 88fc04d3d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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