@stackfactor/client-api 1.1.85 → 1.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/users.js +3 -1
- package/package.json +1 -1
package/lib/users.js
CHANGED
|
@@ -413,7 +413,9 @@ const logout = (refreshToken) => {
|
|
|
413
413
|
*/
|
|
414
414
|
const refreshToken = (refreshToken) => {
|
|
415
415
|
return new Promise(function (resolve, reject) {
|
|
416
|
-
let request = client.post("api/v1/auth/refreshToken", {
|
|
416
|
+
let request = client.post("api/v1/auth/refreshToken", {
|
|
417
|
+
refreshToken: refreshToken,
|
|
418
|
+
});
|
|
417
419
|
request
|
|
418
420
|
.then((response) => {
|
|
419
421
|
resolve(response.data);
|