Skip to content

Commit

Permalink
Merge pull request #20 from PrestaShopCorp/feat/use-access-token
Browse files Browse the repository at this point in the history
feat: use accessToken instead of refreshToken to avoid call to Account API
  • Loading branch information
jmcollin authored Oct 3, 2023
2 parents b04e70a + 3a746f1 commit 5645899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Presenter/BillingPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function present($params)
'i18n' => [
'isoCode' => $this->getBillingContextWrapper()->getLanguageIsoCode(),
],
'refreshToken' => $this->getBillingContextWrapper()->getRefreshToken(),
'accessToken' => $this->getBillingContextWrapper()->getAccessToken(),
'shop' => [
'uuid' => $this->getBillingContextWrapper()->getShopUuid(),
'domain' => $this->getBillingContextWrapper()->getShopDomain(),
Expand Down

0 comments on commit 5645899

Please sign in to comment.