mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45: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 = [
|
notes = [
|
||||||
NoteTitleIdResponse(**note.model_dump())
|
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
|
return notes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue