Skip to content

Commit

Permalink
Remove show error if check cNFT failed
Browse files Browse the repository at this point in the history
  • Loading branch information
chiliec committed Jun 3, 2024
1 parent 5a7e51d commit 969093a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bot/features/webapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ feature.command("webapp", logHandle("command-webapp"), (ctx) => {
return ctx.reply("Test webapp", {
reply_markup: new InlineKeyboard()
.webApp("Open Web App", config.WEB_APP_URL)
.webApp("Claim cNFT", `${config.WEB_APP_URL}/miniapp/cnft`),
.webApp("Claim cNFT", `${config.WEB_APP_URL}/cnft`),
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/components/MiniApp/CNFT.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ async function isNftExists(nftIndex: number) {
console.log(responseAccount.status);
return responseAccount.status == 200;
} catch (error) {
showError(error);
console.log(error);
return false;
}
}
Expand Down

0 comments on commit 969093a

Please sign in to comment.