Fixed transactions not saved wiith all params!
MODIFY
src/scheduler/tasks/CloseTransactionsInProgressTask.ts
src/scheduler/tasks/CloseTransactionsInProgressTask.ts
@@ -29,9 +29,8 @@ export default class CloseTransactionsInProgressTask extends TenantSchedulerTask
// Instantiate the OCPPService
const ocppService = new OCPPService(Configuration.getChargingStationConfig());
// Get opened transactions to close
- const transactions = await TransactionStorage.getTransactions(tenant, { transactionsToClose: true }, Constants.DB_PARAMS_MAX_LIMIT,
- ['id', 'tagID', 'lastConsumption.timestamp', 'timestamp', 'lastConsumption.value', 'meterStart',
- 'chargeBoxID', 'chargeBox', 'siteID', 'siteAreaID', 'siteArea']);
+ const transactions = await TransactionStorage.getTransactions(
+ tenant, { transactionsToClose: true }, Constants.DB_PARAMS_MAX_LIMIT);
for (const transaction of transactions.result) {
try {
// Soft stop transaction

Fixed transactions not saved wiith all params!