Skip to content

Commit

Permalink
Fixed #230
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Oct 17, 2021
1 parent 44dcaa2 commit 06bb38a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Providers/WeChat.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ public function userFromCode(string $code): User
$user = $this->userFromToken($token[$this->accessTokenKey]);

return $user->setRefreshToken($token['refresh_token'])
->setExpiresIn($token['expires_in']);
->setExpiresIn($token['expires_in'])
->setTokenResponse($token);
}

/**
Expand Down

0 comments on commit 06bb38a

Please sign in to comment.