Change url of the request

This commit is contained in:
PCoder 2019-09-14 13:23:42 +05:30
parent ccde9d9f5b
commit 1fbb5974f2

View file

@ -59,6 +59,6 @@ def order(name, realm, seed, product_id):
**OTPCredentials(name, realm, seed).get_json(), **OTPCredentials(name, realm, seed).get_json(),
"product_id": product_id "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) json=data)
print(load_dump_pretty(r.content)) print(load_dump_pretty(r.content))