diff --git a/composer.json b/composer.json index 578e96447d..7dfaf0e820 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "illuminate/http": "^6.0|^7.0|^8.0", "illuminate/routing": "^6.0|^7.0|^8.0", "illuminate/support": "^6.0|^7.0|^8.0", - "pusher/pusher-php-server": "^3.0|^4.0", + "pusher/pusher-php-server": "^3.0|^4.0|^5.0", "react/dns": "^1.1", "react/http": "^1.1", "symfony/http-kernel": "^4.0|^5.0", diff --git a/src/HttpApi/Controllers/TriggerEventController.php b/src/HttpApi/Controllers/TriggerEventController.php index 7f0000569b..89a23724b5 100644 --- a/src/HttpApi/Controllers/TriggerEventController.php +++ b/src/HttpApi/Controllers/TriggerEventController.php @@ -31,6 +31,6 @@ public function __invoke(Request $request) StatisticsLogger::apiMessage($request->appId); } - return $request->json()->all(); + return (object) []; } }