1
0
forked from Hay1tsme/artemis

fix copypasta code

This commit is contained in:
Hay1tsme 2023-02-19 00:01:39 -05:00
parent ed479866cc
commit f5d9bd8003

View File

@ -158,8 +158,8 @@ class AllnetServlet:
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:
raise AllnetRequestException(f"Bad auth request params from {request_ip} - {vars(req)}")
if not req.game_id or not req.ver or not req.serial:
raise AllnetRequestException(f"Bad download request params from {request_ip} - {vars(req)}")
except AllnetRequestException as e:
self.logger.error(e)