Skip to content

Commit 52b6de0

Browse files
authored
Merge pull request #104 from andreaselia/fix-auth-method
pass the token
2 parents c4f0015 + f02d38c commit 52b6de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/HasAuthentication.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function resolveAuth(): self
1818
->append(ucfirst($config['method']))
1919
->toString();
2020

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

2424
return $this;

0 commit comments

Comments
 (0)