@auditauth/next 0.1.1 → 0.1.2
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/sdk.js +0 -4
- package/package.json +1 -1
package/dist/sdk.js
CHANGED
|
@@ -173,10 +173,6 @@ class AuditAuthNext {
|
|
|
173
173
|
if (res.status === 401 && refresh) {
|
|
174
174
|
const data = await this.refresh(refresh);
|
|
175
175
|
if (data?.access_token && data?.refresh_token) {
|
|
176
|
-
this.setCookieTokens({
|
|
177
|
-
at: data.access_token,
|
|
178
|
-
rt: data.refresh_token,
|
|
179
|
-
});
|
|
180
176
|
res = await doFetch(data.access_token);
|
|
181
177
|
}
|
|
182
178
|
}
|