We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c8cbb7 commit 69404f1Copy full SHA for 69404f1
1 file changed
app/note.py
@@ -31,7 +31,7 @@ def update_note(noteId: str, payload: schemas.NoteBaseSchema, db: Session = Depe
31
32
if not db_note:
33
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND,
34
- detail=f'No note with this id: {id} found')
+ detail=f'No note with this id: {noteId} found')
35
update_data = payload.dict(exclude_unset=True)
36
note_query.filter(models.Note.id == noteId).update(update_data,
37
synchronize_session=False)
0 commit comments