Fix deck query
This commit is contained in:
parent
2f701156b3
commit
4081634ad6
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue