mirror of
https://github.com/cfultz/mtgcsv.git
synced 2024-11-23 17:40:03 +01:00
code correction
This commit is contained in:
parent
326c3fce93
commit
1aed7fb673
2
app.js
2
app.js
@ -101,7 +101,7 @@ async function fetchCardDetails(cardName, setCode) {
|
||||
const response = await fetch(`https://api.scryfall.com/cards/named?exact=${encodeURIComponent(cardName)}&set=${encodeURIComponent(setCode)}`);
|
||||
const data = await response.json();
|
||||
|
||||
console.log('Fetched Data:', data); // Debugging: Log the fetched data
|
||||
console.log('Fetched Data from Scryfall:', data); // Debugging: Log the fetched data
|
||||
|
||||
// Return the relevant card details
|
||||
return {
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
<a href="https://github.com/cfultz/mtgcsv" target="_blank">View on GitHub</a> |
|
||||
<a href="https://github.com/cfultz/mtgcsv" target="_blank">View on GitHub.com</a> |
|
||||
This app is not affiliated with Wizards of the Coast or Hasbro. All rights and trademarks are owned by their respective owners.
|
||||
</p>
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user