one final tweak

This commit is contained in:
crowetic 2024-12-11 17:56:25 -08:00
parent 0c36b3ab7b
commit df7602ca47

View File

@ -58,8 +58,8 @@ async function loadMinterBoardPage() {
document.getElementById("publish-card-button").addEventListener("click", async () => {
try {
await fetchExistingCard();
const cardIdentifier = existingCardIdentifier
// await fetchExistingCard();
const cardIdentifier = await fetchExistingCard().identifier
if (cardIdentifier) {
// Update existing card
const updateCard = confirm("A card already exists. Do you want to update it?");