fix game_code typing

This commit is contained in:
2023-11-05 21:25:38 -05:00
parent dc9879e9b2
commit 59e92268af
10 changed files with 16 additions and 14 deletions

View File

@ -74,11 +74,11 @@ class BaseServlet:
"""
return (False, "")
def render_POST(self, request: Request, game_code: int, matchers: Dict) -> bytes:
def render_POST(self, request: Request, game_code: str, matchers: Dict) -> bytes:
self.logger.warn(f"{game_code} Does not dispatch POST")
return None
def render_GET(self, request: Request, game_code: int, matchers: Dict) -> bytes:
def render_GET(self, request: Request, game_code: str, matchers: Dict) -> bytes:
self.logger.warn(f"{game_code} Does not dispatch GET")
return None