Skip to content

Commit 8fb93e9

Browse files
committed
Fix: PowerMonitor invoked Client::get() with 2 parameters, 1 required
1 parent 585fb47 commit 8fb93e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public function __construct()
2121
->asJson();
2222
}
2323

24-
public function get(string $endpoint): Response
24+
public function get(string $endpoint, array|string|null $query = null): Response
2525
{
26-
return $this->client->get($endpoint);
26+
return $this->client->get($endpoint, $query);
2727
}
2828

2929
public function post(string $endpoint, array $data = []): Response

0 commit comments

Comments
 (0)