Serialize status webhook events in REST API format (#24243)
This commit is contained in:
parent
48befe5dbd
commit
13db7d0075
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue