Database: Fix incorrect profile ID in call to UpdateProfile

This commit is contained in:
mkwcat
2023-12-16 11:40:26 -05:00
parent 982f44c1e3
commit 7e18892053

View File

@@ -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,
})
}