Working on membership module routes, methods, and models
This commit is contained in:
@@ -104,7 +104,7 @@ async def get_product_obj_li(
|
||||
sql_for_obj_type = f"""`product`.for_type = :for_obj_type AND `product`.for_id = :for_obj_id"""
|
||||
else: sql_for_obj_type = ''
|
||||
|
||||
if prod_type in ['event', 'event_option', 'membership', 'fundraising']:
|
||||
if prod_type in ['event', 'event_option', 'event_registration', 'fundraising', 'membership_group', 'membership_type']:
|
||||
data['type_name'] = prod_type
|
||||
|
||||
sql_product_type = f"""AND product.type_name = :type_name"""
|
||||
|
||||
Reference in New Issue
Block a user