Merge pull request #17239 from colemanw/fixSchemaMap
[civicrm-core.git] / Civi / API / Subscriber / ChainSubscriber.php
index 8834495633819bb8504a4be195e92b7b7440faf9..ff4f79256e1a23456f107aa9c9febf708240991a 100644 (file)
@@ -40,7 +40,7 @@ class ChainSubscriber implements EventSubscriberInterface {
    */
   public static function getSubscribedEvents() {
     return [
-      Events::RESPOND => ['onApiRespond', Events::W_EARLY],
+      'civi.api.respond' => ['onApiRespond', Events::W_EARLY],
     ];
   }