Fix 500 on user scores
This commit is contained in:
parent
69678f21f5
commit
120c027fce
|
@ -97,7 +97,7 @@ WHERE scores.beatmap_md5 = ? AND scores.completed = '3' AND `+md.User.OnlyUserPu
|
|||
u userData
|
||||
)
|
||||
err := rows.Scan(
|
||||
&s.ID, &s.BeatmapMD5, &s.Score,
|
||||
&s.ID, &s.BeatmapMD5, &s.Score.Score,
|
||||
&s.MaxCombo, &s.FullCombo, &s.Mods,
|
||||
&s.Count300, &s.Count100, &s.Count50,
|
||||
&s.CountGeki, &s.CountKatu, &s.CountMiss,
|
||||
|
|
|
@ -87,7 +87,7 @@ func scoresPuts(md common.MethodData, whereClause string, params ...interface{})
|
|||
b beatmap
|
||||
)
|
||||
err = rows.Scan(
|
||||
&us.ID, &us.BeatmapMD5, &us.Score,
|
||||
&us.ID, &us.BeatmapMD5, &us.Score.Score,
|
||||
&us.MaxCombo, &us.FullCombo, &us.Mods,
|
||||
&us.Count300, &us.Count100, &us.Count50,
|
||||
&us.CountGeki, &us.CountKatu, &us.CountMiss,
|
||||
|
|
Loading…
Reference in New Issue
Block a user