diff --git a/application/main.py b/application/main.py index d0c0663..a792b1a 100644 --- a/application/main.py +++ b/application/main.py @@ -118,7 +118,7 @@ def write_todos(todos: TodoList, auth_result: str = Security(auth.verify)): # return {"result": "success"} -@app.get("/api/todos/print") +@app.post("/api/todos/print") def print_todos(action: PrintAction, auth_result: str = Security(auth.verify)): """A valid access token is required to access this route"""