fix rarity helper

This commit is contained in:
Aaron Kimbre 2022-01-16 20:37:08 -06:00
parent b2af6d967a
commit de89647421

View File

@ -243,7 +243,7 @@ def register_luclient_jinja_helpers(app):
def get_lot_rarity(lot_id): def get_lot_rarity(lot_id):
render_component_id = query_cdclient( render_component_id = query_cdclient(
'select component_id from ComponentsRegistry where component_type = 2 and id = ?', 'select component_id from ComponentsRegistry where component_type = 11 and id = ?',
[lot_id], [lot_id],
one=True one=True
)[0] )[0]