From f02d38c797e8f2bc3fc0bedacfc9ef69c6aaec80 Mon Sep 17 00:00:00 2001 From: tomirons Date: Tue, 7 May 2024 07:27:58 -0400 Subject: [PATCH] pass the token --- src/Concerns/HasAuthentication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/HasAuthentication.php b/src/Concerns/HasAuthentication.php index 8dc5e48..4628a2e 100644 --- a/src/Concerns/HasAuthentication.php +++ b/src/Concerns/HasAuthentication.php @@ -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;