refactor: rename a template key to a more sensible name
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / 1.6 / OCPP16IncomingRequestService.ts
index 12a64b6ccd418498e3dae139cee4f8f1c1a133a6..cad78436513906e8ee0e42ab0be7b309a7933f24 100644 (file)
@@ -742,7 +742,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService {
             chargingStation.hasIdTags() === true &&
             Utils.isNotEmptyString(
               chargingStation.idTagsCache
-                .getIdTags(ChargingStationUtils.getAuthorizationFile(chargingStation.stationInfo))
+                .getIdTags(ChargingStationUtils.getIdTagsFile(chargingStation.stationInfo))
                 ?.find((idTag) => idTag === commandPayload.idTag)
             )
           ) {