From de013766f6bd239b88d21e6b1805938064a0dd5a Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Tue, 16 Jan 2024 02:47:59 -0500 Subject: [PATCH] cardmaker: fix method not allowed --- titles/cm/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/cm/index.py b/titles/cm/index.py index 20d1e94..53e506b 100644 --- a/titles/cm/index.py +++ b/titles/cm/index.py @@ -74,7 +74,7 @@ class CardMakerServlet(BaseServlet): def get_routes(self) -> List[Route]: return [ - Route("/SDED/{version:int}/{endpoint:str}", self.render_POST) + Route("/SDED/{version:int}/{endpoint:str}", self.render_POST, methods=['POST']) ] async def render_POST(self, request: Request) -> bytes: