From dff30e1edead6a0d8e81a9461ef502c4931992fa Mon Sep 17 00:00:00 2001 From: missytake Date: Wed, 22 Mar 2023 12:48:40 +0100 Subject: [PATCH] [twitter] Remove twitter from webapi imports --- backend/src/kibicara/webapi/__init__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/src/kibicara/webapi/__init__.py b/backend/src/kibicara/webapi/__init__.py index af769c3..20fc8bd 100644 --- a/backend/src/kibicara/webapi/__init__.py +++ b/backend/src/kibicara/webapi/__init__.py @@ -16,8 +16,6 @@ from kibicara.platforms.email.webapi import router as email_router from kibicara.platforms.telegram.webapi import router as telegram_router from kibicara.platforms.test.webapi import router as test_router from kibicara.platforms.mastodon.webapi import router as mastodon_router -from kibicara.platforms.twitter.webapi import router as twitter_router -from kibicara.platforms.twitter.webapi import twitter_callback_router from kibicara.webapi.admin import router as admin_router from kibicara.webapi.hoods import router as hoods_router from kibicara.webapi.hoods.badwords import router as badwords_router @@ -35,12 +33,8 @@ hoods_router.include_router(test_router, prefix="/{hood_id}/test", tags=["test"] hoods_router.include_router( telegram_router, prefix="/{hood_id}/telegram", tags=["telegram"] ) -hoods_router.include_router( - twitter_router, prefix="/{hood_id}/twitter", tags=["twitter"] -) 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")