Get the null CDR in task that pushes the CDR
MODIFY
src/scheduler/tasks/ocpi/OCPIPushCdrsTask.ts
src/scheduler/tasks/ocpi/OCPIPushCdrsTask.ts
@@ -31,7 +31,7 @@ export default class OCPIPushCdrsTask extends SchedulerTask {
{
$match: {
'ocpiData': { $exists: true },
- 'ocpiData.cdr': { $exists: false }
+ 'ocpiData.cdr': null
}
},
{

Get the null CDR in task that pushes the CDR