diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 8dcd709..ba3fa5f 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -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 {