spelling: message

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-05 02:23:25 -05:00
parent 8dd7b40c02
commit af875b4d87
2 changed files with 2 additions and 2 deletions

View file

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

View file

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