From 1fbb5974f2d56f81e64be354c64351aca160fe42 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 14 Sep 2019 13:23:42 +0530 Subject: [PATCH] Change url of the request --- commands/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/product.py b/commands/product.py index 1a61ae6..1564b54 100755 --- a/commands/product.py +++ b/commands/product.py @@ -59,6 +59,6 @@ def order(name, realm, seed, product_id): **OTPCredentials(name, realm, seed).get_json(), "product_id": product_id } - r = requests.post("{}/order/product".format(config('UCLOUD_PAY_SERVER')), + r = requests.post("{}/product/order".format(config('UCLOUD_PAY_SERVER')), json=data) print(load_dump_pretty(r.content)) \ No newline at end of file