From 233af02dbff0e4d8cbd9f0d593666cb224b89dd0 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 31 Dec 2024 12:04:53 -0500 Subject: [PATCH] product_id --- services/web/project/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {