refac/enh: db session sharing

This commit is contained in:
Timothy Jaeryang Baek
2025-12-28 22:00:44 +04:00
parent d4de26bd05
commit 2041ab483e
20 changed files with 600 additions and 562 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ async def create_new_note(
)
try:
note = Notes.insert_new_note(form_data, user.id)
note = Notes.insert_new_note(user.id, form_data)
return note
except Exception as e:
log.exception(e)