Skip to content

Commit

Permalink
Change method to post
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcharlesworth committed Oct 9, 2020
1 parent 88cd8c9 commit 7d81e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ public function count()
$data = Cache::remember($cacheKey, $this->cacheLifetime,
function () use ($accessToken) {
try {
return (int)json_decode($this->client->get($this->endpoint,
return (int)json_decode($this->client->post($this->endpoint,
[
'headers' => [
'Authorization' => 'Bearer '.$accessToken,
Expand Down

0 comments on commit 7d81e7c

Please sign in to comment.