From 13db7d0075cb5fd17feb57c9f43a4aa34bbfab33 Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Mon, 27 Mar 2023 00:14:21 -0700 Subject: [PATCH] Serialize status webhook events in REST API format (#24243) --- app/serializers/rest/admin/webhook_event_serializer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/serializers/rest/admin/webhook_event_serializer.rb b/app/serializers/rest/admin/webhook_event_serializer.rb index fe0ac23f98..b6d2616e53 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