diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index e593dba..0dd45a1 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -310,7 +310,7 @@ func HandlerGetUserData(w http.ResponseWriter, data string, uuid int) { uinfo.Gold = addgold uinfo.GoldSum += addgold uinfo.AddToRank() - resp.Data.Output = strconv.FormatInt(addgold, 10) + resp.Data.Output = strconv.FormatInt(uinfo.Goldrate, 10) resp.Data.Coin = strconv.FormatInt(uinfo.Gold, 10) } -- libgit2 0.21.0