message: Get all the consumptions
diff: @@ -591,7 +591,7 @@ export default class OCPIMapping {
  return [];
  }
  const chargingPeriods: OCPIChargingPeriod[] = [];
  - const consumptions = await ConsumptionStorage.getOptimizedTransactionConsumptions(tenantID, { transactionId: transaction.id });
  + const consumptions = await ConsumptionStorage.getTransactionConsumptions(tenantID, { transactionId: transaction.id });
  if (consumptions) {
  for (const consumption of consumptions) {
  const chargingPeriod = this.buildChargingPeriod(consumption);
  