Store set type

This commit is contained in:
Correl Roush 2024-02-26 18:16:14 -05:00
parent 4a0fc6e539
commit 1d9723fb1f

View file

@ -242,7 +242,10 @@ def update_scryfall(ctx, filename):
try:
card = tutor.scryfall.to_card(card_json).unwrap()
await tutor.database.store_set(
cursor, card_json["set"].upper(), card_json["set_name"]
cursor,
card_json["set"].upper(),
card_json["set_type"],
card_json["set_name"],
)
await tutor.database.store_card(cursor, card)
await tutor.database.store_price(cursor, today, card)