diff --git a/main b/main index 7a94186..7e3bbc3 100755 Binary files a/main and b/main differ diff --git a/main.go b/main.go index 97b47cf..f597cdd 100644 --- a/main.go +++ b/main.go @@ -174,7 +174,7 @@ func getHistory(c *gin.Context) { var tempUser userData stmt, err := db.Prepare("SELECT * FROM users WHERE uid=?") checkErr(err) - err = stmt.QueryRow(history[i].UID).Scan(&tempUser.UID, &tempUser.Name, &tempUser.Password, &tempUser.Role) + err = stmt.QueryRow(history[i].UID).Scan(&tempUser.UID, &tempUser.Name, &tempUser.Password, &tempUser.Role, &tempUser.Points) checkErr(err) tempHistory.User = tempUser.Name stmt.Close()