Skip to content
Discussion options

You must be logged in to vote

we can also use to resolve the issue

@app.post("/invoices/", callbacks=invoices_callback_router.routes + invoices_callback_router2.routes)

APIRouter().routes returns a list object, so, I think this should be the better approach

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
1 participant
Converted from issue

This discussion was converted from issue #4787 on February 27, 2023 22:03.