Fixed missing endpoint for collectibles

This commit is contained in:
DrMint 2024-07-27 14:49:11 +02:00
parent 47dd0557d5
commit 682e1b1cfb
1 changed files with 6 additions and 0 deletions

View File

@ -298,6 +298,12 @@ export const getEndpointChangesForCollectible = ({
}: Collectible): EndpointChange[] => {
const changes: EndpointChange[] = [];
changes.push({
type: SDKEndpointNames.getCollectible,
slug,
url: getSDKEndpoint.getCollectible(slug),
});
if (gallery && gallery.length > 0) {
changes.push({
type: SDKEndpointNames.getCollectibleGallery,