URL format
This commit is contained in:
@@ -838,7 +838,8 @@ def subscription_start(current_user):
|
|||||||
return jsonify({'status': "INVALID",'message': 'Error - Invalid product'}), 403
|
return jsonify({'status': "INVALID",'message': 'Error - Invalid product'}), 403
|
||||||
|
|
||||||
member_id = current_user['user']['member_id']
|
member_id = current_user['user']['member_id']
|
||||||
internal_url = str(random.randint(10000, 99999)) + "." + product_id + ".mermsemr.com"
|
# internal_url = str(random.randint(10000, 99999)) + "." + product_id + ".mermsemr.com"
|
||||||
|
internal_url = str(random.randint(10000, 99999)) + ".devprov.mermsemr.com"
|
||||||
INSERT_NEW_PRODUCT ="INSERT INTO members_products (member_id ,product_id,status,internal_url) VALUES (%s, %s, %s, %s)"
|
INSERT_NEW_PRODUCT ="INSERT INTO members_products (member_id ,product_id,status,internal_url) VALUES (%s, %s, %s, %s)"
|
||||||
val_insert = (member_id, product_id,6,internal_url)
|
val_insert = (member_id, product_id,6,internal_url)
|
||||||
with connection:
|
with connection:
|
||||||
|
|||||||
Reference in New Issue
Block a user