find issue import cards

This commit is contained in:
matthieur
2025-03-06 11:43:32 +01:00
parent 217f1b662f
commit 2ffa49b8f0
5 changed files with 20 additions and 11 deletions

View File

@@ -24,6 +24,8 @@ export const getCardById = async (cardId: string): Promise<Card> => {
};
export const getCardsByIds = async (cardIds: string[]): Promise<Card[]> => {
//75 cards per request max
const response = await fetch(`${SCRYFALL_API}/cards/collection`, {
method: 'POST',
headers: {