Skip to content

Commit

Permalink
Update FXHash slug cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaddern committed Jun 25, 2024
1 parent 5720b51 commit ec1a942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ingestors/fxhash/offchain-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const getFxHashMintsBySlug = async (resources: MintIngestorResources, slu
if (!slug) {
return [];
}
const cleanedSlug = slug.replaceAll('-', '');
const graphQLRes = await resources.fetcher({
url: 'https://api.v2-temp.fxhash.xyz/graphql',
method: 'POST',
Expand Down Expand Up @@ -82,7 +83,7 @@ export const getFxHashMintsBySlug = async (resources: MintIngestorResources, slu
`,
variables: {
filters: {
searchQuery_eq: slug,
searchQuery_eq: cleanedSlug,
},
},
},
Expand Down

0 comments on commit ec1a942

Please sign in to comment.