From ddcb0e9ac8da35a5b38307ceba62d95d6edfbc24 Mon Sep 17 00:00:00 2001 From: Documentation Date: Sat, 21 Aug 2021 20:28:45 +0000 Subject: [PATCH] Updates --- CardCreator.html | 2 +- create-card.js.html | 4 ++-- index.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CardCreator.html b/CardCreator.html index cb1d8c3..6e7173a 100644 --- a/CardCreator.html +++ b/CardCreator.html @@ -713,7 +713,7 @@ generation methods.
diff --git a/create-card.js.html b/create-card.js.html index b8eb454..a53b189 100644 --- a/create-card.js.html +++ b/create-card.js.html @@ -329,7 +329,7 @@ class CardCreator { */ async createCard(charaId, customImage) { const characterInfoUrl = `https://xivapi.com/character/${charaId}?extended=1&data=FC,mimo`; - const response = await fetch(characterInfoUrl); + let response = await fetch(characterInfoUrl); if (!response.ok) { // Retry once if the request fails response = await fetch(characterInfoUrl); @@ -691,7 +691,7 @@ exports.CardCreator = CardCreator;
diff --git a/index.html b/index.html index 4d0eae8..cf4c8fb 100644 --- a/index.html +++ b/index.html @@ -118,7 +118,7 @@ example((err, response) => {