Skip to content

Commit

Permalink
fix(address): keep the stored refresh token for Google if not provided (
Browse files Browse the repository at this point in the history
  • Loading branch information
szkl authored Apr 13, 2023
1 parent d59a904 commit d8cea29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/address/src/nodes/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default class OAuthAddress {
...data,
timestamp: Date.now(),
accessToken: body.access_token,
refreshToken: body.refresh_token,
refreshToken: body.refresh_token ?? data.refreshToken,
extraParams: {
...data.extraParams,
expires_in: body.expires_in,
Expand Down

0 comments on commit d8cea29

Please sign in to comment.