change error messages punctuation.

This commit is contained in:
Miroslav Šedivý
2021-04-24 21:37:43 +02:00
parent 4f1e3c879a
commit ec18775e26
15 changed files with 59 additions and 59 deletions

View File

@ -71,12 +71,12 @@ func (h *MembersHandler) membersCreate(w http.ResponseWriter, r *http.Request) {
}
if data.Username == "" {
utils.HttpBadRequest(w, "Username cannot be empty.")
utils.HttpBadRequest(w, "username cannot be empty")
return
}
if data.Password == "" {
utils.HttpBadRequest(w, "Password cannot be empty.")
utils.HttpBadRequest(w, "password cannot be empty")
return
}