about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorVyr Cossont <VyrCossont@users.noreply.github.com>2023-03-27 00:14:21 -0700
committerGitHub <noreply@github.com>2023-03-27 09:14:21 +0200
commit88fc04d3d71b43dc788239f7df7897c054c01e57 (patch)
tree1905f33b2a67101bdf5ac8e57ac66e89e1f89df7 /app/serializers
parent5b7898230e1a380f5f12cea9c1f1a74ba228cd5b (diff)
Serialize status webhook events in REST API format (#24243)
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/rest/admin/webhook_event_serializer.rb2
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