Skip to content

Commit

Permalink
ai minter
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Feb 27, 2024
1 parent c2eb3bb commit 6de576c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ai-minter/src/hooks/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const cbUrl = (hash: string, callbackArgs: CallbackArgs) =>
callbackUrl(hash, TransactionSuccessEnum.MINT, callbackArgs);

export const getTxnHash = async (hash: string) => {
const res = await fetch(`$${nearblocksApi}/v1/search/?keyword=${hash}`);
const res = await fetch(`${nearblocksApi}/v1/search/?keyword=${hash}`);

const txn = await res.json();

Expand Down
2 changes: 1 addition & 1 deletion minter/src/hooks/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const cbUrl = (hash: string, callbackArgs: CallbackArgs) =>
callbackUrl(hash, TransactionSuccessEnum.MINT, callbackArgs);

export const getTxnHash = async (hash: string) => {
const res = await fetch(`$${nearblocksApi}/v1/search/?keyword=${hash}`);
const res = await fetch(`${nearblocksApi}/v1/search/?keyword=${hash}`);

const txn = await res.json();

Expand Down

0 comments on commit 6de576c

Please sign in to comment.