Database: Fix missing destination field in gamestats login

This commit is contained in:
mkwcat 2024-04-21 14:04:19 -04:00
parent 597bec1e09
commit 8f964bb213
No known key found for this signature in database
GPG Key ID: 7A505679CE9E7AA9

View File

@ -137,7 +137,7 @@ func LoginUserToGameStats(pool *pgxpool.Pool, ctx context.Context, userId uint64
var expectedNgId *uint32
var firstName *string
var lastName *string
err := pool.QueryRow(ctx, GetUserProfileID, userId, gsbrcd).Scan(&user.ProfileId, &expectedNgId, &user.Email, &user.UniqueNick, &firstName, &lastName)
err := pool.QueryRow(ctx, GetUserProfileID, userId, gsbrcd).Scan(&user.ProfileId, &expectedNgId, &user.Email, &user.UniqueNick, &firstName, &lastName, &user.OpenHost)
if err != nil {
return User{}, err
}