From 72e45815a8447d2b5d359e67459094bb9bb94ebd Mon Sep 17 00:00:00 2001 From: Koozza Date: Wed, 24 Feb 2021 12:00:40 +0100 Subject: [PATCH 1/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From 6e020afadad2fea4f3d457be8c074669600e808f Mon Sep 17 00:00:00 2001 From: Koozza Date: Wed, 24 Feb 2021 12:01:28 +0100 Subject: [PATCH 2/2] Respond empty object --- src/HttpApi/Controllers/TriggerEventController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) []; } }