Fix users/full returning "" as the country
This commit is contained in:
parent
55d7621ef5
commit
67ae6ab3b8
|
@ -174,12 +174,11 @@ LIMIT 1
|
|||
r := userFullResponse{}
|
||||
var (
|
||||
badges string
|
||||
country 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