api/todos/print get -> post

This commit is contained in:
samerbam 2023-08-24 16:59:35 -04:00
parent 5b6063aa31
commit a73a806fb2

View File

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