Skip to content

Commit d6b6c5e

Browse files
Егор КоноваловЕгор Коновалов
authored andcommitted
imp(): add workspace projection
1 parent 80d80fe commit d6b6c5e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

workers/limiter/src/dbHelper.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ export class DbHelper {
6565
path: '$tariffPlan',
6666
},
6767
},
68+
{
69+
projection: {
70+
_id: 1,
71+
isBlocked: 1,
72+
lastChargeDate: 1,
73+
tariffPlan: 1,
74+
}
75+
}
6876
];
6977

7078
if (id !== undefined) {

0 commit comments

Comments
 (0)