Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Sep 18, 2024
1 parent 3a8642b commit aa1056f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
14 changes: 7 additions & 7 deletions public/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"REDIRECT_URL": "https://dev.punkga.me",
"REDIRECT_URL": "https://staging.punkga.me",
"CHAIN_ID": "aura_6321-3",
"CHAIN_INFO": {
"chainId": "aura_6321-3",
Expand All @@ -14,13 +14,13 @@
},
"explorer": "https://euphoria.aurascan.io"
},
"API_URL": "https://hasura.dev.punkga.me",
"AUTHORIZER_URL": "https://auth.dev.punkga.me",
"AUTHORIZER_CLIENT_ID": "abd40c73-3390-4613-bc44-b5bde4796d03",
"ADMIN_URL": "https://admin.dev.punkga.me",
"REST_API_URL": "https://api.dev.punkga.me",
"API_URL": "https://hasura.staging.punkga.me",
"AUTHORIZER_URL": "https://auth.staging.punkga.me",
"AUTHORIZER_CLIENT_ID": "06c9c437-15cd-4240-b435-5d16206b46c6",
"ADMIN_URL": "https://admin.staging.punkga.me",
"REST_API_URL": "https://api.staging.punkga.me",
"IN_MAINTENANCE_MODE": false,
"GTM_ID": "GTM-PF4MH72V",
"GTM_ID": "GTM-MMT4K22K",
"SEEKHYPE_URL": "https://staging.seekhype.io/",
"WALLET_CONNECT_PROJECT_ID": "ec40291093ad80fa0def54b1fb44c8ef"
}
2 changes: 2 additions & 0 deletions src/components/pages/artist/Artworks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,10 @@ const Album = ({ id, setSelectedAlbum }) => {
{data?.artworks?.slice((page - 1) * 12, page * 12)?.map((artwork, index) => (
<div
key={index}
className='cursor-pointer'
onClick={() => {
setSelectedArtwork(artwork)
setOpen(true)
}}>
<Image
width={300}
Expand Down
4 changes: 3 additions & 1 deletion src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,9 @@ export const getArtistArtworkAlbums = async (id: string) => {
.then((res) => res.data)
}
export const getArtworkAlbums = async (id: string) => {
return await axios.get(`${getConfig().API_URL}/api/rest/public/albums/${id}`).then((res) => res.data)
return await axios
.get(`${getConfig().API_URL}/api/rest/public/albums/${id}?limit=99999&offset=0`)
.then((res) => res.data)
}
export const getArtistCollections = async (id: string) => {
const { data } = await axios.get(`${getConfig().API_URL}/api/rest/public/creators/${id}/launchpad`)
Expand Down

0 comments on commit aa1056f

Please sign in to comment.