mirror of
https://github.com/immich-app/immich.git
synced 2025-12-02 04:19:56 +09:00
refactor(server): /user profile endpoint (#9669)
* refactor(server): user profile endpoint * chore: open api
This commit is contained in:
@@ -169,7 +169,7 @@ export const getAssetThumbnailUrl = (...[assetId, format]: [string, ThumbnailFor
|
||||
};
|
||||
|
||||
export const getProfileImageUrl = (...[userId]: [string]) => {
|
||||
const path = `/user/profile-image/${userId}`;
|
||||
const path = `/users/${userId}/profile-image`;
|
||||
return createUrl(path);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user