refactor: trivial cleanups
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Jun 2023 15:44:43 +0000 (17:44 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Jun 2023 15:44:43 +0000 (17:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts
src/charging-station/ocpp/OCPPConstants.ts

index c73c32dc2ce940f9c017550183a44dd45a3a7a43..4ddeed559a0ce6bd37c4902ad7300202f773d8cb 100644 (file)
@@ -843,8 +843,7 @@ export class OCPP16ServiceUtils extends OCPPServiceUtils {
   public static async isIdTagAuthorized(
     chargingStation: ChargingStation,
     connectorId: number,
-    idTag: string,
-    parentIdTag?: string
+    idTag: string
   ): Promise<boolean> {
     let authorized = false;
     const connectorStatus = chargingStation.getConnectorStatus(connectorId);
index b3f4dd3208315681d616f10cacfafa8bfb29ea77..9d3fc74b14b6775b94baf5091722ebba2536e999 100644 (file)
@@ -105,7 +105,7 @@ export class OCPPConstants {
   static readonly OCPP_DATA_TRANSFER_RESPONSE_REJECTED = Object.freeze({
     status: DataTransferStatus.REJECTED,
   });
-  
+
   static readonly OCPP_DATA_TRANSFER_RESPONSE_UNKNOWN_VENDOR_ID = Object.freeze({
     status: DataTransferStatus.UNKNOWN_VENDOR_ID,
   });