bugfix
This commit is contained in:
parent
b45c85448a
commit
e9a0cf6650
@ -40,6 +40,6 @@ db = DBPools()
|
||||
dbname = get_module_dbname('discount')
|
||||
debug(f'get_products_with_discount: org_id={user_orgid}, discountid={discountid}, dbname={dbname}')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
r = await sor.sqlPaging(sql, ns)
|
||||
debug(f'get_products_with_discount: returned {len(r.get("rows", []))} products')
|
||||
r = await sor.sqlPaging(sql, ns.copy())
|
||||
debug(f'{sql=}, {ns=},get_products_with_discount: returned {len(r.get("rows", []))} products')
|
||||
return r
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user