Do not take into account already refunded transactions
MODIFY
src/migration/tasks/RecomputeAllTransactionsWithSimplePricingTask.ts
src/migration/tasks/RecomputeAllTransactionsWithSimplePricingTask.ts
@@ -33,7 +33,8 @@ export default class RecomputeAllTransactionsWithSimplePricingTask extends Migra
{
$match: {
'stop.price': { $gt: 0 },
- 'stop.pricingSource': 'simple'
+ 'stop.pricingSource': 'simple',
+ 'refundData': { $exists: false },
}
},
{

Do not take into account already refunded transactions