mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
9d8378d2e2
commit
04962922d7
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ async def get_note_list(request: Request, user=Depends(get_verified_user)):
|
|||
|
||||
notes = [
|
||||
NoteTitleIdResponse(**note.model_dump())
|
||||
for note in Notes.get_notes_by_user_id(user.id, "read")
|
||||
for note in Notes.get_notes_by_user_id(user.id, "write")
|
||||
]
|
||||
|
||||
return notes
|
||||
|
|
|
|||
Loading…
Reference in a new issue