diff options
author | Vyr Cossont <VyrCossont@users.noreply.github.com> | 2023-03-27 00:14:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 09:14:21 +0200 |
commit | 88fc04d3d71b43dc788239f7df7897c054c01e57 (patch) | |
tree | 1905f33b2a67101bdf5ac8e57ac66e89e1f89df7 /app | |
parent | 5b7898230e1a380f5f12cea9c1f1a74ba228cd5b (diff) |
Serialize status webhook events in REST API format (#24243)
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/rest/admin/webhook_event_serializer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/rest/admin/webhook_event_serializer.rb b/app/serializers/rest/admin/webhook_event_serializer.rb index fe0ac23f9..b6d2616e5 100644 --- a/app/serializers/rest/admin/webhook_event_serializer.rb +++ b/app/serializers/rest/admin/webhook_event_serializer.rb @@ -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 |