Fix deck query

This commit is contained in:
Correl Roush 2024-02-21 22:44:41 -05:00
parent 2f701156b3
commit 4081634ad6

View file

@ -517,8 +517,8 @@ async def get_deck(
'quantity', "deck_list"."quantity"
))) AS "cards"
FROM "decks"
LEFT JOIN "deck_list" USING ("deck_id")
LEFT JOIN "oracle_latest" USING ("oracle_id")
JOIN "deck_list" USING ("deck_id")
JOIN "oracle_latest" USING ("oracle_id")
WHERE "decks"."deck_id" = %(deck_id)s
GROUP BY "decks"."deck_id"
, "decks"."name"