mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-27 13:22:44 +03:00
12 lines
272 B
Python
12 lines
272 B
Python
|
from uuid import UUID
|
||
|
from models.settings import get_supabase_db
|
||
|
|
||
|
|
||
|
def remove_chat_notifications(chat_id: UUID) -> None:
|
||
|
"""
|
||
|
Remove all notifications for a chat
|
||
|
"""
|
||
|
supabase_db = get_supabase_db()
|
||
|
|
||
|
supabase_db.remove_notifications_by_chat_id(chat_id)
|