From 7fd8049f99e5c4b18b2f9bcbe3cd3595f2088733 Mon Sep 17 00:00:00 2001 From: bugsounet Date: Fri, 21 Jun 2024 16:58:27 +0200 Subject: [PATCH] update refreshToken order --- helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.js b/helper.js index a750172..ffeb061 100644 --- a/helper.js +++ b/helper.js @@ -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)