forked from Hay1tsme/artemis
fix download order
This commit is contained in:
parent
a3c689cd09
commit
ed479866cc
@ -155,7 +155,7 @@ class AllnetServlet:
|
|||||||
def handle_dlorder(self, request: Request, _: Dict):
|
def handle_dlorder(self, request: Request, _: Dict):
|
||||||
request_ip = request.getClientAddress().host
|
request_ip = request.getClientAddress().host
|
||||||
try:
|
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
|
# 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:
|
if not req.game_id or not req.ver or not req.token or not req.serial or not req.ip:
|
||||||
|
Loading…
Reference in New Issue
Block a user