mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 03:20:17 +00:00
spelling: message
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
8dd7b40c02
commit
af875b4d87
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
posts.go
2
posts.go
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue