Skip to content

Commit

Permalink
fix: update items thumbnails upload route
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Torrent committed Dec 2, 2021
1 parent da9af40 commit 17b8990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const buildDownloadPublicAvatarRoute = ({
size?: string;
}) => `p/${buildDownloadAvatarRoute({ id, size })}`;
export const buildUploadItemThumbnailRoute = (id: UUID) =>
`${ITEMS_ROUTE}/thumbnails${qs.stringify({ id }, { addQueryPrefix: true })}`;
`${ITEMS_ROUTE}/thumbnails/upload${qs.stringify({ id }, { addQueryPrefix: true })}`;
export const buildDownloadItemThumbnailRoute = ({
id,
size = DEFAULT_THUMBNAIL_SIZES,
Expand Down

0 comments on commit 17b8990

Please sign in to comment.