fix name
This commit is contained in:
@@ -629,6 +629,7 @@ class MyProductsService(BaseService):
|
|||||||
if memberSubscription is not None:
|
if memberSubscription is not None:
|
||||||
# logger.info(f"Incoming MyProduct data ==>>>> {memberSubscription}")
|
# logger.info(f"Incoming MyProduct data ==>>>> {memberSubscription}")
|
||||||
product_subscription_uid = memberSubscription.uid
|
product_subscription_uid = memberSubscription.uid
|
||||||
|
subscription_template = memberSubscription.product_template
|
||||||
settingsFields = SettingsItemsData.get_site_settings_data()
|
settingsFields = SettingsItemsData.get_site_settings_data()
|
||||||
templateData = []
|
templateData = []
|
||||||
homeFields = SettingsItemsData.get_site_home_settings()
|
homeFields = SettingsItemsData.get_site_home_settings()
|
||||||
@@ -662,7 +663,7 @@ class MyProductsService(BaseService):
|
|||||||
"data": contactFields, "list_order": 5},
|
"data": contactFields, "list_order": 5},
|
||||||
"social_tab": {"title": 'Socials', "controls": 'social', "active": '', "custom": False,
|
"social_tab": {"title": 'Socials', "controls": 'social', "active": '', "custom": False,
|
||||||
"data": socialFields, "list_order": 6},
|
"data": socialFields, "list_order": 6},
|
||||||
"template_tab": {"title": 'Template', "controls": 'template', "active": '', "custom": True,
|
"template_tab": {"title": 'Select Template', "controls": 'template', "active": '', "custom": True,
|
||||||
"data": templateData, "list_order": 17},
|
"data": templateData, "list_order": 17},
|
||||||
"color_scheme_tab": {"title": 'Color Scheme', "controls": 'color-scheme', "active": '',
|
"color_scheme_tab": {"title": 'Color Scheme', "controls": 'color-scheme', "active": '',
|
||||||
"custom": True, "data": {}, "list_order": 18}
|
"custom": True, "data": {}, "list_order": 18}
|
||||||
@@ -711,6 +712,7 @@ class MyProductsService(BaseService):
|
|||||||
response_data = {
|
response_data = {
|
||||||
"settings_items": settings_items,
|
"settings_items": settings_items,
|
||||||
"member_id": member_id,
|
"member_id": member_id,
|
||||||
|
"subscription_template": subscription_template,
|
||||||
"product_subscription_uid": product_subscription_uid,
|
"product_subscription_uid": product_subscription_uid,
|
||||||
"blog_connect": blogConnect
|
"blog_connect": blogConnect
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ class WebContentsService(BaseService):
|
|||||||
res_data = []
|
res_data = []
|
||||||
response = requests.get(api_url, params=payload)
|
response = requests.get(api_url, params=payload)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
logger.info(f"Response Site Images: {res_data}")
|
||||||
# Convert the JSON response to a Python dictionary
|
# Convert the JSON response to a Python dictionary
|
||||||
res_data = response.json()
|
res_data = response.json()
|
||||||
logger.info(f"Response Site Images: {res_data}")
|
logger.info(f"Response Site Images: {res_data}")
|
||||||
|
|||||||
Reference in New Issue
Block a user