Skip to content

Commit

Permalink
Merge pull request #5 from HelloAsso/main
Browse files Browse the repository at this point in the history
develop to main
  • Loading branch information
lemarty authored Oct 11, 2024
2 parents 27fd780 + 9caea0d commit 494aee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ApiWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function getOrganizationTokensAndRefreshIfNecessary($organization_slug)

if ($tokenData['access_token_expires_at'] < date('Y-m-d H:i:s'))
{
$tokenData = $this->refreshToken($tokenData['refresh_token'], null);
$tokenData = $this->refreshToken($tokenData['refresh_token'], $organization_slug);
return $tokenData;
}
return $tokenData;
Expand Down

0 comments on commit 494aee2

Please sign in to comment.