From af181227d5a7707c1a69ede74448a485f157ab4a Mon Sep 17 00:00:00 2001 From: Mafer Date: Thu, 7 Dec 2023 00:36:02 -0300 Subject: [PATCH] delete old endpoint --- identity_socializer/web/api/notification/views.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/identity_socializer/web/api/notification/views.py b/identity_socializer/web/api/notification/views.py index ad59434..5e0d47d 100644 --- a/identity_socializer/web/api/notification/views.py +++ b/identity_socializer/web/api/notification/views.py @@ -50,21 +50,6 @@ async def new_all_notifications() -> Any: return my_notifications -@router.post("/new_trending", response_model=None) -async def new_trending_notification( - topic: str, - user_dao: UserDAO = Depends(), - push_token_dao: PushTokenDAO = Depends(), - push_notifications: PushNotifications = Depends(), -) -> None: - """Creates a notification for new like event.""" - await push_notifications.new_trending( - topic, - push_token_dao, - user_dao, - ) - - @router.post("/new_trending_snap") async def new_trending_snap_notification( body: TrendingNotificationDTO,