escrevi errado e so me avisaram agora
This commit is contained in:
@@ -352,7 +352,7 @@ func player_updateInputs(c echo.Context) error {
|
||||
if vida != "" {
|
||||
a, _ := strconv.Atoi(vida)
|
||||
if a < 1 {
|
||||
return jsonError(c, http.StatusUnauthorized, "o seu merda, sua viada não pode ser 0 ou inferior.")
|
||||
return jsonError(c, http.StatusUnauthorized, "o seu merda, sua vida não pode ser 0 ou inferior.")
|
||||
}
|
||||
|
||||
err := updateField("UPDATE players SET vida=?, vida_maxima=? WHERE id=?;", vida, vida, session["user_id"])
|
||||
|
||||
Reference in New Issue
Block a user