user_data["id"] = member[0]

This commit is contained in:
CHIEFSOFT\ameye
2025-01-10 07:25:54 -05:00
parent 9d4097fc94
commit 0f969168c6
+4 -6
View File
@@ -226,6 +226,7 @@ def start_login():
user = {}
user_data = {}
user_data["id"] = member[0]
user_data["member_id"] = member[0]
user_data["uid"] = member[1]
# token should expire after 24 hrs
@@ -754,13 +755,10 @@ def subscription_start(current_user):
return jsonify({'status': "INVALID",'message': 'Error - Invalid product'}), 403
# if not product_id:
# return {
# "message": "Please provide product_id",
# "data": None,
# "error": "Bad request"
# }, 400
print( current_user )
print(product_id)
myproduct_data = []
return jsonify(myproduct_data=myproduct_data)