spelling: message

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pull/658/head
Josh Soref 2 years ago
parent 8dd7b40c02
commit af875b4d87
  1. 2
      account.go
  2. 2
      posts.go

@ -577,7 +577,7 @@ func getVerboseAuthUser(app *App, token string, u *User, verbose bool) *AuthUser
}
passIsSet, err := app.db.IsUserPassSet(u.ID)
if err != nil {
// TODO: correct error meesage
// TODO: correct error message
log.Error("Login: Unable to get user collections: %v", err)
}

@ -1067,7 +1067,7 @@ func pinPost(app *App, w http.ResponseWriter, r *http.Request) error {
ppr := PinPostResult{ID: p.ID}
if err != nil {
ppr.Code = http.StatusInternalServerError
// TODO: set error messsage
// TODO: set error message
} else {
ppr.Code = http.StatusOK
}

Loading…
Cancel
Save