From 0504d3083f349de60bbf6f88b1c750422addbe9d Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 19 Mar 2023 19:20:09 +0100 Subject: [PATCH] [mastodon] Fix load order of API routers --- backend/src/kibicara/webapi/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/kibicara/webapi/__init__.py b/backend/src/kibicara/webapi/__init__.py index adc99ea..af769c3 100644 --- a/backend/src/kibicara/webapi/__init__.py +++ b/backend/src/kibicara/webapi/__init__.py @@ -38,9 +38,9 @@ hoods_router.include_router( hoods_router.include_router( twitter_router, prefix="/{hood_id}/twitter", tags=["twitter"] ) -router.include_router(twitter_callback_router, prefix="/twitter", tags=["twitter"]) -hoods_router.include_router(email_router, prefix="/{hood_id}/email", tags=["email"]) -router.include_router(hoods_router, prefix="/hoods") hoods_router.include_router( mastodon_router, prefix="/{hood_id}/mastodon", tags=["mastodon"] ) +router.include_router(twitter_callback_router, prefix="/twitter", tags=["twitter"]) +hoods_router.include_router(email_router, prefix="/{hood_id}/email", tags=["email"]) +router.include_router(hoods_router, prefix="/hoods")