refac/enh: db session sharing
This commit is contained in:
1 parent
d4de26bd05
commit
2041ab483e
20 files changed
+600
-562
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user