Working on membership, fundraising, and products and other things
This commit is contained in:
@@ -85,10 +85,7 @@ async def get_product_obj_li(
|
||||
log.debug(locals())
|
||||
|
||||
if for_obj_id := redis_lookup_id_random(record_id_random=for_obj_id, table_name=for_obj_type): pass
|
||||
else:
|
||||
return mk_resp(data=None, status_code=404)
|
||||
|
||||
response_data = None
|
||||
else: return mk_resp(data=None, status_code=404)
|
||||
|
||||
# Updated 2021-07-01
|
||||
if product_rec_list_result := get_product_rec_list(
|
||||
@@ -102,7 +99,6 @@ async def get_product_obj_li(
|
||||
for product_rec in product_rec_list_result:
|
||||
if load_product_result := load_product_obj(
|
||||
product_id = product_rec.get('product_id', None),
|
||||
limit = limit,
|
||||
by_alias = by_alias,
|
||||
exclude_unset = exclude_unset,
|
||||
# model_as_dict = model_as_dict,
|
||||
|
||||
Reference in New Issue
Block a user