@evergis/api 4.1.42 → 4.1.43
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/dist/api.esm.js +2 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -2962,11 +2962,11 @@ class Api extends EventEmitter {
|
|
|
2962
2962
|
request.headers?.set("Authorization", `Bearer ${refreshTokenResponse.token || ""}`);
|
|
2963
2963
|
}
|
|
2964
2964
|
else {
|
|
2965
|
-
await this.
|
|
2965
|
+
await this.logout();
|
|
2966
2966
|
}
|
|
2967
2967
|
}
|
|
2968
2968
|
catch (error) {
|
|
2969
|
-
await this.
|
|
2969
|
+
await this.logout();
|
|
2970
2970
|
}
|
|
2971
2971
|
break;
|
|
2972
2972
|
}
|