Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Sep 20, 2024
1 parent 54c7465 commit 09e8fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export const getArtistArtworks = async (id: string) => {
}
export const getArtistArtworkAlbums = async (id: string) => {
return await axios
.get(`${getConfig().API_URL}/api/rest/public/creators/${id}/albums`)
.get(`${getConfig().REST_API_URL}/album/public?creator_id=${id}&limit=1000&offset=0`)
.then((res) => res.data)
}
export const getArtworkAlbums = async (id: string, artistId: string) => {
Expand Down

0 comments on commit 09e8fc9

Please sign in to comment.