mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
chore: added some metadata to response to sinplify clan resolver
This commit is contained in:
1 parent
6ed4738197
commit
53fb441b93
5 files changed
+10
-46
No files matched your search
+3
@@ -46,6 +46,9 @@ namespace WotBlitzStatisticsPro.Logic.AccountInformationPipeline.Operations
|
||||
contextData.Response = _mapper.Map<AccountInfo, AccountInfoResponse>(contextData.AccountInfo);
|
||||
contextData.Response = _mapper.Map(contextData.AccountInfoHistory, contextData.Response);
|
||||
|
||||
contextData.Response.RegionAndLanguage =
|
||||
new RealmAndLanguage(context.Request.RealmType, context.Request.RequestLanguage);
|
||||
|
||||
var tankIds = contextData.Tanks.Select(t => t.TankId).ToArray();
|
||||
var vehicles = await _dictionariesDataAccessor.GetVehicles(tankIds);
|
||||
|
||||
|
||||
Reference in new issue
Block a user