fix: changed detected by scanner but no updated by render layer

This commit is contained in:
2026-02-03 11:34:24 +01:00
parent 01dcaf882a
commit 06ed2c3cbe
3 changed files with 35 additions and 1 deletions

View File

@ -22,7 +22,9 @@ func (h *NotesHandler) HandleCreate(path string) error {
if err != nil {
return err
}
h.storage.Create(note)
if err := h.storage.Create(note); err != nil {
return err
}
log.Printf("Created or updated note '%s'\n", path)
return nil
}