add_history_entry, use attributes instead of skuid

This commit is contained in:
Sam Hadow 2024-07-20 23:29:39 +02:00
parent bad3edfa0e
commit afdaa49f19

View File

@ -55,8 +55,8 @@ def add_history_entry(itemid, skuid, choice, attributes, image, price, currency,
SELECT uuid
FROM item
WHERE itemid = %s
AND skuid = %s
""", (itemid, skuid))
AND attributes = %s
""", (itemid, formatted_attributes))
uuid = cursor.fetchall()[0]