fix download order

This commit is contained in:
Hay1tsme 2023-02-18 23:57:45 -05:00
parent a3c689cd09
commit ed479866cc

View File

@ -155,7 +155,7 @@ class AllnetServlet:
def handle_dlorder(self, request: Request, _: Dict):
request_ip = request.getClientAddress().host
try:
req = AllnetDownloadOrderRequest(self.billing_req_to_dict(request.content.getvalue())[0])
req = AllnetDownloadOrderRequest(self.allnet_req_to_dict(request.content.getvalue())[0])
# Validate the request. Currently we only validate the fields we plan on using
if not req.game_id or not req.ver or not req.token or not req.serial or not req.ip: