title: convert version to int to match POST endpoint

This commit is contained in:
Hay1tsme 2023-05-30 21:31:09 -04:00
parent 5c3f812caf
commit 2418abacce

View File

@ -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"]