Skip to content

Commit

Permalink
Merge pull request #4 from ECOMDevelopment/bugfix/authenticateClient
Browse files Browse the repository at this point in the history
Fixed authenticateClient argument
  • Loading branch information
edamov authored Jan 20, 2017
2 parents cff3aef + 9d3ff90 commit f34129d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function push(): array
$request = new Request($notification, $this->isProductionEnv);
$handles[] = $ch = curl_init();

$this->authProvider->authenticateClient($ch);
$this->authProvider->authenticateClient($request);

curl_setopt_array($ch, $request->getOptions());
curl_setopt($ch, CURLOPT_HTTPHEADER, $request->getDecoratedHeaders());
Expand Down

0 comments on commit f34129d

Please sign in to comment.