refactor: rename a template key to a more sensible name
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPIncomingRequestService.ts
index 32402da5f139a4e9945e6f8d6bc45ac0e075b998..2d15ce5d7908435f1d84e9d114df67d02d9bedca 100644 (file)
@@ -91,7 +91,7 @@ export abstract class OCPPIncomingRequestService extends AsyncResource {
 
   protected handleRequestClearCache(chargingStation: ChargingStation): ClearCacheResponse {
     chargingStation.idTagsCache.deleteIdTags(
-      ChargingStationUtils.getAuthorizationFile(chargingStation.stationInfo)
+      ChargingStationUtils.getIdTagsFile(chargingStation.stationInfo)
     );
     return OCPPConstants.OCPP_RESPONSE_ACCEPTED;
   }