Skip to content

Commit

Permalink
fix auth
Browse files Browse the repository at this point in the history
  • Loading branch information
salimkanoun committed Sep 16, 2023
1 parent e6a38e7 commit ce29927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GaelO2/app/GaelO/Adapters/HttpClientAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function uploadFile(string $method, string $uri, string $filename) : Psr7
$body = Utils::tryFopen($filename, 'r');

$headers = [
'Authorization' => "Basic " . base64_encode($this->login . ':' . $this->password),
'auth' => [$this->login, $this->password],
'body' => $body
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use App\GaelO\Constants\SettingsConstants;
use App\GaelO\Interfaces\Adapters\FrameworkInterface;
use App\GaelO\Interfaces\Adapters\HttpClientInterface;
use Illuminate\Support\Facades\Log;

class GaelOProcessingService
{
Expand Down

0 comments on commit ce29927

Please sign in to comment.