mirror of
https://github.com/immich-app/immich.git
synced 2025-12-02 04:19:56 +09:00
fix(web): profile picture url (#9754)
This commit is contained in:
@@ -179,8 +179,8 @@ export const getAssetThumbnailUrl = (
|
||||
return createUrl(path, { format, key: getKey(), c: checksum });
|
||||
};
|
||||
|
||||
export const getProfileImageUrl = (...[userId]: [string]) => {
|
||||
const path = `/users/profile-image/${userId}`;
|
||||
export const getProfileImageUrl = (userId: string) => {
|
||||
const path = `/users/${userId}/profile-image`;
|
||||
return createUrl(path);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user