mirror of
https://github.com/StanGirard/quivr.git
synced 2024-09-11 13:15:41 +03:00
🚑 fix on fetch user
This commit is contained in:
parent
3953efd13d
commit
c7d537ceef
@ -39,7 +39,7 @@ async def get_user_endpoint(request: Request, current_user: User = Depends(get_c
|
||||
default_brain = get_default_user_brain(current_user)
|
||||
|
||||
if default_brain:
|
||||
defaul_brain_size = Brain(id=default_brain['id']).size
|
||||
defaul_brain_size = Brain(id=default_brain['id']).brain_size
|
||||
else:
|
||||
defaul_brain_size = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user