fix: remove double rendering and test error #26

Merged
jriou merged 1 commit from tapiron/coller:fix/error_for_non_password_protected_notes into main 2025-09-13 19:10:51 +02:00
Showing only changes of commit a3643d48b6 - Show all commits

fix: remove double rendering and test error

Thibault Piron 2025-09-12 18:34:47 +02:00
Signed by untrusted user who does not match committer: tapiron
GPG key ID: 37EE240037F90B38

View file

@ -345,9 +345,6 @@ func (h *GetWebNoteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return return
} }
h.PageData.Err = fmt.Errorf("jriou")

Good catch! Thanks for your contribution.

Good catch! Thanks for your contribution.
h.Templates.ExecuteTemplate(w, templateName, h.PageData)
h.PageData.Note = note h.PageData.Note = note
h.logger.Debug("rendering note web page") h.logger.Debug("rendering note web page")