Skip to content

Commit

Permalink
Merge pull request #104 from andreaselia/fix-auth-method
Browse files Browse the repository at this point in the history
pass the token
  • Loading branch information
tomirons authored May 7, 2024
2 parents c4f0015 + f02d38c commit 52b6de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function resolveAuth(): self
->append(ucfirst($config['method']))
->toString();

$this->authentication = new $className;
$this->authentication = new $className($config['token']);
}

return $this;
Expand Down

0 comments on commit 52b6de0

Please sign in to comment.