3
2
forked from Dniel97/artemis

cardmaker: fix method not allowed

This commit is contained in:
Hay1tsme 2024-01-16 02:47:59 -05:00
parent a4262b9285
commit de013766f6

View File

@ -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: