Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 936a5bd

Browse files
committed
Return an empty JSON hash instead of the request JSON. This fixes an incompatibility with newer versions of Pusher
1 parent 1163078 commit 936a5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/API/TriggerEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ public function __invoke(Request $request)
6060
]);
6161
}
6262

63-
return $request->json()->all();
63+
return (object)[];
6464
}
6565
}

0 commit comments

Comments
 (0)