added to log
This commit is contained in:
@@ -39,7 +39,7 @@ class MyProductsService(BaseService):
|
||||
|
||||
logger.info(f"GET HERE ******************************** : {data}", exc_info=True)
|
||||
mumberSub = MembersProducts.get_member_product_by_product__member_id(member_id, product_id)
|
||||
|
||||
|
||||
if not mumberSub:
|
||||
logger.error(f"Ready to add data to tables")
|
||||
response_data = {
|
||||
@@ -57,7 +57,7 @@ class MyProductsService(BaseService):
|
||||
subscription = MembersProducts.create_subscription(member_id ,product_id,status,internal_url)
|
||||
|
||||
response_data = {
|
||||
"subscription": subscription,
|
||||
"subscription": subscription.uid,
|
||||
"member_id": member_id,
|
||||
"uid": uid
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user