forked from Hay1tsme/artemis
title: convert version to int to match POST endpoint
This commit is contained in:
parent
5c3f812caf
commit
2418abacce
@ -84,7 +84,7 @@ class TitleServlet:
|
||||
request.setResponseCode(405)
|
||||
return b""
|
||||
|
||||
return index.render_GET(request, endpoints["version"], endpoints["endpoint"])
|
||||
return index.render_GET(request, int(endpoints["version"]), endpoints["endpoint"])
|
||||
|
||||
def render_POST(self, request: Request, endpoints: dict) -> bytes:
|
||||
code = endpoints["game"]
|
||||
|
Loading…
Reference in New Issue
Block a user