Skip to content

Commit

Permalink
update refreshToken order
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsounet committed Jun 21, 2024
1 parent 407b024 commit 7fd8049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {

const params = new URLSearchParams()
params.append('grant_type', 'refresh_token')
params.append('refresh_token', refreshToken || self.refresh_token || self.config.refresh_token)
params.append('refresh_token', self.refresh_token || refreshToken || self.config.refresh_token)
params.append('client_id', self.config.clientId)
params.append('client_secret', self.config.clientSecret)

Expand Down

0 comments on commit 7fd8049

Please sign in to comment.