1
0
Fork 0
forked from jriou/coller

Compare commits

...
Sign in to create a new pull request.

1 commit
main ... main

Author SHA1 Message Date
938d10c3a6 fix: remove double rendering and test error (#26)
Remove double template rendering and test error for non password protected note

Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com>
Reviewed-on: jriou/coller#26
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: tapiron <tapiron@monitoring@riou.xyz>
Co-committed-by: tapiron <tapiron@monitoring@riou.xyz>
2025-09-13 19:10:50 +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")
h.Templates.ExecuteTemplate(w, templateName, h.PageData)
h.PageData.Note = note
h.logger.Debug("rendering note web page")