Added more fields in tr in errors
MODIFY
src/server/rest/v1/service/TransactionService.ts
src/server/rest/v1/service/TransactionService.ts
@@ -864,11 +864,12 @@ export default class TransactionService {
module: MODULE_NAME, method: 'handleGetTransactionsInError'
});
}
- // Check Users
let projectFields = [
'id', 'chargeBoxID', 'timestamp', 'issuer', 'stateOfCharge', 'timezone', 'connectorId',
- 'meterStart', 'siteAreaID', 'siteID', 'errorCode', 'uniqueId'
+ 'meterStart', 'siteAreaID', 'siteID', 'errorCode', 'uniqueId', 'stop.totalConsumptionWh',
+ 'stop.totalDurationSecs'
];
+ // Check Users
if ((await Authorizations.canListUsers(req.user)).authorized) {
if (projectFields) {
projectFields = [

Added more fields in tr in errors