diff --git a/composer.json b/composer.json index 0038b4c..4ab42b6 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "illuminate/queue": "^6.3|^7.0|^8.0", "illuminate/routing": "^6.3|^7.0|^8.0", "illuminate/support": "^6.3|^7.0|^8.0", - "pusher/pusher-php-server": "^4.0", + "pusher/pusher-php-server": "^4.0|^5.0", "react/promise": "^2.0", "symfony/http-kernel": "^4.0|^5.0", "symfony/psr-http-message-bridge": "^1.1|^2.0" diff --git a/src/API/TriggerEvent.php b/src/API/TriggerEvent.php index 7a3d986..ec802ae 100644 --- a/src/API/TriggerEvent.php +++ b/src/API/TriggerEvent.php @@ -60,6 +60,6 @@ class TriggerEvent extends Controller ]); } - return $request->json()->all(); + return (object) []; } }