Implement delete notes

This commit is contained in:
Micheal Wilkinson
2026-03-17 21:49:07 +00:00
parent 21709fc91a
commit 93ddee80e4

View File

@@ -48,5 +48,5 @@ func (r *NoteRepository) UpdateNote(id int, content string) (models.Note, error)
}
func (r *NoteRepository) DeleteNote(id int) error {
return fmt.Errorf("not implemented")
return r.store.DeleteNoteByID(id)
}