refac
This commit is contained in:
1 parent
9d8378d2e2
commit
04962922d7
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user