diff --git a/NineChroniclesUtilBackend/Repositories/ArenaRankingRespository.cs b/NineChroniclesUtilBackend/Repositories/ArenaRankingRespository.cs index 0bc97b79..1fcdd525 100644 --- a/NineChroniclesUtilBackend/Repositories/ArenaRankingRespository.cs +++ b/NineChroniclesUtilBackend/Repositories/ArenaRankingRespository.cs @@ -46,7 +46,7 @@ public async Task> GetRanking(long limit, long offset) $@"{{ $limit: {limit} }}", @"{ $lookup: { from: 'avatars', localField: 'AvatarAddress', foreignField: 'Avatar.address', as: 'Avatar' } }", @"{ $unwind: { path: '$Avatar', preserveNullAndEmptyArrays: true } }", - $@"{{ $unset: ['Avatar.Avatar.inventory', 'Avatar.Avatar.mailBox', 'Avatar.Avatar.stageMap', 'Avatar.Avatar.monsterMap', 'Avatar.Avatar.itemMap', 'Avatar.Avatar.eventMap'] }}", + @"{ $unset: ['Avatar.Avatar.inventory', 'Avatar.Avatar.mailBox', 'Avatar.Avatar.stageMap', 'Avatar.Avatar.monsterMap', 'Avatar.Avatar.itemMap', 'Avatar.Avatar.eventMap'] }", }.Select(BsonDocument.Parse).ToArray(); var aggregation = ArenaCollection.Aggregate(pipelines).ToList();