forked from jriou/coller
fix: remove double rendering and test error
This commit is contained in:
parent
401397241b
commit
a3643d48b6
1 changed files with 0 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue