Skip to content

Commit

Permalink
refresh avatars before update
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed Sep 12, 2024
1 parent 5ca7652 commit c6aaaaf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public async ValueTask<List<EntityAvatarInfo>> UpdateDbAvatarInfosAsync(UserAndU
.GetRequiredService<IOverseaSupportFactory<IGameRecordClient>>()
.CreateFor(userAndUid);

// manual refresh avatars
await gameRecordClient.GetPlayerInfoAsync(userAndUid, token).ConfigureAwait(false);

Response<ListWrapper<Character>> listResponse = await gameRecordClient
.GetCharacterListAsync(userAndUid, token)
.ConfigureAwait(false);
Expand Down

0 comments on commit c6aaaaf

Please sign in to comment.