quivr/backend/repository/brain/update_brain_last_update_time.py
Mamadou DICKO 2c9a0c1ed2
feat: activate public brain subscription (#1241)
* feat: add public brain details modal

* feat(brain): add subscription route

* feat: activate subscription button

* feat: add last_update column to brain table

* feat: display last update on public brain details page

* feat: change RBAC rule for public brains

* feat: maintain brain last_update time
2023-09-22 11:44:09 +02:00

9 lines
212 B
Python

from uuid import UUID
from models.settings import get_supabase_db
def update_brain_last_update_time(brain_id: UUID):
supabase_db = get_supabase_db()
supabase_db.update_brain_last_update_time(brain_id)