Skip to content

Commit

Permalink
fixes botman#122
Browse files Browse the repository at this point in the history
  • Loading branch information
donmbelembe authored Dec 17, 2022
1 parent 5c08743 commit 550cb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function matchesRequest()
public function verifyRequest(Request $request)
{
if ($request->get('hub_mode') === 'subscribe' && $request->get('hub_verify_token') === $this->config->get('verification')) {
return Response::create($request->get('hub_challenge'))->send();
return (new Response($request->get('hub_challenge')))->send();
}
}

Expand Down

0 comments on commit 550cb9b

Please sign in to comment.