fix sending incorrect params to dict_to_http_form_string

This commit is contained in:
Hay1tsme 2023-02-19 00:06:21 -05:00
parent f5d9bd8003
commit d434bf084d
1 changed files with 2 additions and 2 deletions

View File

@ -167,10 +167,10 @@ class AllnetServlet:
resp = AllnetDownloadOrderResponse()
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
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):
req_dict = self.billing_req_to_dict(request.content.getvalue())