From: Jérôme Benoit Date: Tue, 11 Jul 2023 20:56:02 +0000 (+0200) Subject: fix: properly deprecate payloadSchemaValidation template configuration X-Git-Tag: v1.2.18~50 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f26233c0fd267bc2ef00636ca7531a0877bb5dbe;p=e-mobility-charging-stations-simulator.git fix: properly deprecate payloadSchemaValidation template configuration key Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStationUtils.ts b/src/charging-station/ChargingStationUtils.ts index 3e6e578b..868d0adb 100644 --- a/src/charging-station/ChargingStationUtils.ts +++ b/src/charging-station/ChargingStationUtils.ts @@ -357,6 +357,7 @@ export const warnTemplateKeysDeprecation = ( const templateKeys: { key: string; deprecatedKey: string }[] = [ { key: 'supervisionUrls', deprecatedKey: 'supervisionUrl' }, { key: 'idTagsFile', deprecatedKey: 'authorizationFile' }, + { key: 'ocppStrictCompliance', deprecatedKey: 'payloadSchemaValidation' }, ]; for (const templateKey of templateKeys) { warnDeprecatedTemplateKey(