Skip to content

Commit

Permalink
Fix Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aalbarca committed Jan 29, 2023
1 parent ad74c67 commit 2605605
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ use Netflie\WhatsAppCloudApi\WebHook;
// Instantiate the WhatsAppCloudApi super class.
$webhook = new WebHook();

return $webhook->verify($_GET, "<the-verify-token-defined-in-your-app-dashboard>");
echo $webhook->verify($_GET, "<the-verify-token-defined-in-your-app-dashboard>");
```

### Webhook notifications
Expand All @@ -294,7 +294,6 @@ fwrite(STDOUT, print_r($payload, true) . "\n");
// Instantiate the Webhook super class.
$webhook = new WebHook();


fwrite(STDOUT, print_r($webhook->read(json_decode($payload, true)), true) . "\n");
```

Expand Down

0 comments on commit 2605605

Please sign in to comment.