refactor(server): /user profile endpoint (#9669)

* refactor(server): user profile endpoint

* chore: open api
This commit is contained in:
Jason Rasmussen
2024-05-22 14:31:12 -04:00
committed by GitHub
parent ecd018a826
commit 8f37784eae
8 changed files with 60 additions and 60 deletions

View File

@@ -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);
};