lang 4 năm trước cách đây
mục cha
commit
43d8409b2e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -192,7 +192,7 @@ class oa2TokenView(TemplateView):
             return JsonResponse(res_json)
 
     def post_to_api(self, payload):
-        connection = http.client.HTTPSConnection("api.amazon.com")
+        # connection = http.client.HTTPSConnection("api.amazon.com")
         headers = {
             'content-type': "application/x-www-form-urlencoded",
             'cache-control': "no-cache"