Skip to content

Commit

Permalink
fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
Анастасия Скульская committed Aug 14, 2023
1 parent 43e87a3 commit 02ff778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function sendSample(Sample $sample): bool {
$request->setTransferTimeout(60 * 60);
$request->setInactivityTimeout(60 * 60);
if (!empty($this->authToken)) {
$request->addHeader('Authorization', 'Bearer psx-BWlqy_dW1Wxg6oBjuCWD28HxGCkB1Jfzt-jjtqHzrkzI');
$request->addHeader('Authorization', 'Bearer ' . $this->authToken);
}
$response = $this->client->request($request);
if ($response->getStatus() === 200) {
Expand Down

0 comments on commit 02ff778

Please sign in to comment.