Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed May 17, 2024
1 parent 78fdf01 commit db8d5ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Listeners/FormSubmittedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ public function handle(FormSubmitted $event)
'email' => $email,
])->render();

$response = Http::withHeaders(['apikey' => $apiKey])
->withBody($content, 'text/plain')
$response = Http::withBody($content, 'text/plain')
->post('https://spamcheck.postmarkapp.com/filter', [
'email' => $body,
'options' => 'short',
Expand Down

0 comments on commit db8d5ce

Please sign in to comment.