diff --git a/backend/modules/chat/service/chat_service.py b/backend/modules/chat/service/chat_service.py index c38f430fe..c8c629e58 100644 --- a/backend/modules/chat/service/chat_service.py +++ b/backend/modules/chat/service/chat_service.py @@ -123,7 +123,7 @@ class ChatService: chat_id: UUID, ) -> List[ChatItem]: chat_history = self.get_chat_history(str(chat_id)) - chat_notifications = notification_service.get_chat_notifications(chat_id) + chat_notifications = [] return merge_chat_history_and_notifications(chat_history, chat_notifications) def get_user_chats(self, user_id: str) -> List[Chat]: diff --git a/backend/modules/notification/service/notification_service.py b/backend/modules/notification/service/notification_service.py index 451b01b4d..977ee4d66 100644 --- a/backend/modules/notification/service/notification_service.py +++ b/backend/modules/notification/service/notification_service.py @@ -1,6 +1,3 @@ -from typing import List -from uuid import UUID - from models.settings import get_supabase_client from modules.notification.dto.inputs import NotificationUpdatableProperties from modules.notification.entity.notification import Notification @@ -23,12 +20,6 @@ class NotificationService: """ return self.repository.add_notification(notification) - def get_chat_notifications(self, chat_id: UUID) -> List[Notification]: - """ - Get notifications by chat_id - """ - return self.repository.get_notifications_by_chat_id(chat_id) - def update_notification_by_id( self, notification_id, notification: NotificationUpdatableProperties ):