Skip to content

Commit

Permalink
fixed Call to undefined method [createApiAccessToken] error (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanxiaoxi authored May 14, 2022
1 parent 7fa08ce commit 9d71cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/WeWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function getUserByToken(string $token): array

protected function getApiAccessToken(): string
{
return $this->apiAccessToken ?? $this->apiAccessToken = $this->createApiAccessToken();
return $this->apiAccessToken ?? $this->apiAccessToken = $this->requestApiAccessToken();
}

/**
Expand Down

0 comments on commit 9d71cbd

Please sign in to comment.