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