@overmap-ai/core 1.0.60-sdk-refactor.16 → 1.0.60-sdk-refactor.17
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/overmap-core.js
CHANGED
|
@@ -15473,9 +15473,7 @@ class JWTService extends BaseAuthService {
|
|
|
15473
15473
|
}
|
|
15474
15474
|
if (!response.access)
|
|
15475
15475
|
throw new Error("Missing access token");
|
|
15476
|
-
|
|
15477
|
-
throw new Error("Missing refresh token");
|
|
15478
|
-
return { accessToken: response.access, refreshToken: response.refresh };
|
|
15476
|
+
return { accessToken: response.access, refreshToken: response.refresh ?? this.getRefreshToken() };
|
|
15479
15477
|
});
|
|
15480
15478
|
}
|
|
15481
15479
|
/**
|