Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hotmeteor authored Dec 2, 2022
1 parent 174b4bf commit 3ef2bdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Webhooks require an exposed endpoint to POST to. Receiver aims to make this a on
{
public function store(Request $request)
{
Receiver::driver('slack')
return Receiver::driver('slack')
->receive($request)
->ok();
}
Expand Down Expand Up @@ -103,7 +103,7 @@ class WebhooksController extends Controller
{
public function store(Request $request, string $driver)
{
Receiver::driver($driver)
return Receiver::driver($driver)
->receive($request)
->ok();
}
Expand Down Expand Up @@ -153,7 +153,7 @@ class WebhooksController extends Controller
{
public function store(Request $request, string $driver)
{
Receiver::driver($driver)
return Receiver::driver($driver)
->receive($request)
->fallback(function(Webhook $webhook) {
// Do whatever you like here...
Expand Down

0 comments on commit 3ef2bdd

Please sign in to comment.