user_data["id"] = member[0]
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user