correção de texto sem sentido, pq sou burro nesse caralho '-'
This commit is contained in:
@@ -463,10 +463,10 @@ func player_updateInputs(c echo.Context) error {
|
||||
row, err := db.Query(fmt.Sprintf("SELECT id, item_peso FROM inv_%s ORDER BY id DESC;", userSession["playerName"]))
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Println("Erro ao consultar inventario do inventario.")
|
||||
log.Println("Erro ao consultar items do inventario.")
|
||||
return c.JSON(http.StatusInternalServerError, resp_json{
|
||||
Status: "Error",
|
||||
Message: "Erro ao consultar inventario do inventario.",
|
||||
Message: "Erro ao consultar items do inventario.",
|
||||
})
|
||||
}
|
||||
var peso_total int = 0
|
||||
@@ -537,10 +537,10 @@ func inv_get(c echo.Context) error {
|
||||
row, err := db.Query(fmt.Sprintf("SELECT id, item_nome, quantidade, item_peso FROM inv_%s ORDER BY id DESC;", userSession["playerName"]))
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Println("Erro ao consultar inventario do inventario.")
|
||||
log.Println("Erro ao consultar items do inventario.")
|
||||
return c.JSON(http.StatusInternalServerError, resp_json{
|
||||
Status: "Error",
|
||||
Message: "Erro ao consultar inventario do inventario.",
|
||||
Message: "Erro ao consultar items do inventario.",
|
||||
})
|
||||
}
|
||||
var peso_total int = 0
|
||||
|
||||
Reference in New Issue
Block a user