Skip to content

Commit 69404f1

Browse files
committed
updated
1 parent 7c8cbb7 commit 69404f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/note.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def update_note(noteId: str, payload: schemas.NoteBaseSchema, db: Session = Depe
3131

3232
if not db_note:
3333
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND,
34-
detail=f'No note with this id: {id} found')
34+
detail=f'No note with this id: {noteId} found')
3535
update_data = payload.dict(exclude_unset=True)
3636
note_query.filter(models.Note.id == noteId).update(update_data,
3737
synchronize_session=False)

0 commit comments

Comments
 (0)