forked from Hay1tsme/artemis
fix sending incorrect params to dict_to_http_form_string
This commit is contained in:
parent
f5d9bd8003
commit
d434bf084d
@ -167,10 +167,10 @@ class AllnetServlet:
|
|||||||
|
|
||||||
resp = AllnetDownloadOrderResponse()
|
resp = AllnetDownloadOrderResponse()
|
||||||
if not self.config.allnet.allow_online_updates:
|
if not self.config.allnet.allow_online_updates:
|
||||||
return self.dict_to_http_form_string(vars(resp))
|
return self.dict_to_http_form_string([vars(resp)])
|
||||||
|
|
||||||
else: # TODO: Actual dlorder response
|
else: # TODO: Actual dlorder response
|
||||||
return self.dict_to_http_form_string(vars(resp))
|
return self.dict_to_http_form_string([vars(resp)])
|
||||||
|
|
||||||
def handle_billing_request(self, request: Request, _: Dict):
|
def handle_billing_request(self, request: Request, _: Dict):
|
||||||
req_dict = self.billing_req_to_dict(request.content.getvalue())
|
req_dict = self.billing_req_to_dict(request.content.getvalue())
|
||||||
|
Loading…
Reference in New Issue
Block a user