Fix users/full returning "" as the country
This commit is contained in:
parent
55d7621ef5
commit
67ae6ab3b8
|
@ -173,13 +173,12 @@ LIMIT 1
|
|||
// Fuck.
|
||||
r := userFullResponse{}
|
||||
var (
|
||||
badges string
|
||||
country string
|
||||
badges string
|
||||
)
|
||||
err := md.DB.QueryRow(query, param).Scan(
|
||||
&r.ID, &r.Username, &r.RegisteredOn, &r.Privileges, &r.LatestActivity,
|
||||
|
||||
&r.UsernameAKA, &badges, &country,
|
||||
&r.UsernameAKA, &badges, &r.Country,
|
||||
&r.PlayStyle, &r.FavouriteMode,
|
||||
|
||||
&r.STD.RankedScore, &r.STD.TotalScore, &r.STD.PlayCount,
|
||||
|
|
Loading…
Reference in New Issue
Block a user