Skip to content

Commit

Permalink
Remove useless string interpolation keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal authored Mar 7, 2024
1 parent 6fd7020 commit 98a33f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task<List<ArenaRanking>> 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<BsonDocument>(pipelines).ToList();
Expand Down

0 comments on commit 98a33f9

Please sign in to comment.