product_id

This commit is contained in:
CHIEFSOFT\ameye
2024-12-31 12:04:53 -05:00
parent d09a7f1eb8
commit 233af02dbf
+3 -1
View File
@@ -538,7 +538,9 @@ def myproduct(current_user):
@app.route("/panel/myproduct/subscription", methods=["POST"])
@token_required
def subscription_start(current_user):
product_id = request.args.get('product_id')
data = request.json
product_id = data.get('product_id')
#request.args.get('product_id')
print(product_id)
if not product_id:
return {