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

View file

@ -345,9 +345,6 @@ func (h *GetWebNoteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
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.logger.Debug("rendering note web page")