Skip to content

Commit

Permalink
delete old endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maferep committed Dec 7, 2023
1 parent 6f55b56 commit af18122
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions identity_socializer/web/api/notification/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af18122

Please sign in to comment.