refac/enh: db session sharing

This commit is contained in:
Timothy Jaeryang Baek committed 2025-12-28 22:00:44 +04:00
1 parent d4de26bd05
commit 2041ab483e
20 files changed
+600 -562

No files matched your search

+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)