From 68f5b47e818f15881522e7a3ae6bcf5e12838f9a Mon Sep 17 00:00:00 2001 From: luolu Date: Tue, 5 Jul 2022 07:55:15 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20order=20extension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arkid/common/arkstore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arkid/common/arkstore.py b/arkid/common/arkstore.py index d86ed7800..0ad5eb48b 100644 --- a/arkid/common/arkstore.py +++ b/arkid/common/arkstore.py @@ -113,7 +113,7 @@ def get_arkstore_extensions(access_token, purchased=None, type=None, offset=0, l def purcharse_arkstore_extension(access_token, extension_id, data): - order_url = settings.ARKSTOER_URL + f'/api/v1/arkstore/extensions/{extension_id}/order' + order_url = settings.ARKSTOER_URL + f'/api/v1/arkstore/extensions/{extension_id}/purchase' headers = {'Authorization': f'Token {access_token}'} params = data resp = requests.post(order_url, json=params, headers=headers) @@ -159,7 +159,7 @@ def get_arkstore_extension_detail_by_package(access_token, package): def get_arkstore_extension_price(access_token, extension_id): - arkstore_extensions_url = settings.ARKSTOER_URL + f'/api/v1/arkstore/extensions/{extension_id}/order' + arkstore_extensions_url = settings.ARKSTOER_URL + f'/api/v1/arkstore/extensions/{extension_id}/purchase' headers = {'Authorization': f'Token {access_token}'} params = {} resp = requests.get(arkstore_extensions_url, params=params, headers=headers)