mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-13 07:14:54 +03:00
a4a2d769b3
* feat: refetch brains list on when new brain is added * feat: update BrainConfig type * feat: update useSettingsTab add usebrainFormState and useSettings tab * feat: add <PrivateAccessConfirmationModal/> modal * feat: update translations * feat: handle brain status change to private * feat: validate chat access * test: fix failaing tests and remove deprecated
11 lines
228 B
Python
11 lines
228 B
Python
from uuid import UUID
|
|
|
|
from models.settings import get_supabase_db
|
|
|
|
|
|
def delete_brain_users(brain_id: UUID) -> None:
|
|
supabase_db = get_supabase_db()
|
|
supabase_db.delete_brain_subscribers(
|
|
brain_id=brain_id,
|
|
)
|