Browse Source

Spelling correction (issue #22) (#23)

In reference to #22

Co-authored-by: kayos@tcp.direct <kayos@tcp.direct>
Reviewed-on: #23
Co-authored-by: kayos <kayos@noreply@mills.io>
Co-committed-by: kayos <kayos@noreply@mills.io>
master
kayos 5 months ago committed by James Mills
parent
commit
2b75e868a5
  1. 2
      handlers.go

2
handlers.go

@ -114,7 +114,7 @@ func (app *App) IndexHandler(w http.ResponseWriter, r *http.Request) {
}
if _, ok := app.conf.Feeds[feed.Name]; ok {
if err := renderMessage(w, http.StatusConflict, "Error", "Feed alreadyd exists"); err != nil {
if err := renderMessage(w, http.StatusConflict, "Error", "Feed already exists"); err != nil {
log.WithError(err).Error("error rendering message template")
http.Error(w, "Internal Server Error", http.StatusInternalServerError)
}

Loading…
Cancel
Save