We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 116b998 + 8048245 commit 4531d56Copy full SHA for 4531d56
src/Controller/CallbackController.php
@@ -56,7 +56,7 @@ public function index()
56
// Store token details
57
$this->loadComponent('XeroOauth2.Storage');
58
59
- if ($this->Storage->getAccessToken() === null) {
+ if ($this->Storage->getAccessToken() !== null) {
60
$this->Storage->updateToken(
61
$accessToken->getToken(),
62
$result[0]->getTenantId(),
0 commit comments