mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-09-14 19:45:54 -05:00
Database: Fix incorrect profile ID in call to UpdateProfile
This commit is contained in:
@@ -66,7 +66,7 @@ func LoginUserToGPCM(pool *pgxpool.Pool, ctx context.Context, userId uint64, gsb
|
||||
}
|
||||
|
||||
if user.LastName == "" {
|
||||
user = UpdateProfile(pool, ctx, profileId, map[string]string{
|
||||
user = UpdateProfile(pool, ctx, user.ProfileId, map[string]string{
|
||||
"lastname": "000000000" + gsbrcd,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user