Working on membership, fundraising, and products and other things

This commit is contained in:
Scott Idem
2021-07-01 17:55:25 -04:00
parent 3631f2f122
commit a56804cee6
10 changed files with 425 additions and 534 deletions

View File

@@ -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,