mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-16 17:29:14 +00:00
Serialize status webhook events in REST API format (#24243)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user