varminer-app-header 2.2.4 → 2.2.6
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/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -399,7 +399,7 @@ const getProfilePictureUrl = (baseUrl = "http://objectstore.impact0mics.local:90
|
|
|
399
399
|
const userId = allData.decodedToken?.user_id ?? allData.auth?.user_id ?? getStoredUserDetails()?.userId ?? null;
|
|
400
400
|
if (userId == null)
|
|
401
401
|
return null;
|
|
402
|
-
return `${baseUrl.replace(/\/$/, "")}/v1/objectStore/profilePicture/path
|
|
402
|
+
return `${baseUrl.replace(/\/$/, "")}/v1/objectStore/profilePicture/path/4590`;
|
|
403
403
|
}
|
|
404
404
|
catch (err) {
|
|
405
405
|
console.error("Error getting profile picture URL:", err);
|