Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7c8cbb7

Browse files
committed
updated
1 parent 8f15826 commit 7c8cbb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎app/note.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def update_note(noteId: str, payload: schemas.NoteBaseSchema, db: Session = Depe
3636
note_query.filter(models.Note.id == noteId).update(update_data,
3737
synchronize_session=False)
3838
db.commit()
39+
db.refresh(db_note)
3940
return {"status": "success", "note": db_note}
4041

4142

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /