Fixed auth Start Transaction typo
MODIFY
src/server/rest/v1/service/AuthorizationService.ts
src/server/rest/v1/service/AuthorizationService.ts
@@ -824,7 +824,7 @@ export default class AuthorizationService {
chargingStation.canStopTransaction = await AuthorizationService.canPerformAuthorizationAction(
tenant, userToken, Entity.CHARGING_STATION, Action.STOP_TRANSACTION, authorizationFilter,
{ chargingStationID: chargingStation.id, SiteID: chargingStation.siteID }, chargingStation);
- chargingStation.canStarTransaction = await AuthorizationService.canPerformAuthorizationAction(
+ chargingStation.canStartTransaction = await AuthorizationService.canPerformAuthorizationAction(
tenant, userToken, Entity.CHARGING_STATION, Action.START_TRANSACTION, authorizationFilter,
{ chargingStationID: chargingStation.id, SiteID: chargingStation.siteID }, chargingStation);
chargingStation.canChangeAvailability = await AuthorizationService.canPerformAuthorizationAction(

MODIFY
src/types/Authorization.ts
src/types/Authorization.ts
@@ -311,7 +311,7 @@ export interface ChargingStationAuthorizationActions extends AuthorizationAction
canUpdateFirmware?:boolean;
canRemoteStopTransaction?:boolean;
canStopTransaction?:boolean;
- canStarTransaction?:boolean;
+ canStartTransaction?:boolean;
canChangeAvailability?:boolean;
canRemoteStartTransaction?:boolean;
canUnlockConnector?:boolean;

Fixed auth Start Transaction typo