fix: ensure OCPP payload validation report error details
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 24 Jul 2024 22:14:10 +0000 (00:14 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 24 Jul 2024 22:14:10 +0000 (00:14 +0200)
commit45087a81ca7dda0b6e72897acd1391d859026961
treef0979b19d3c2a75e7f4f9ff435ce8f10b0605283
parentd22a75788e8899bd6fc505362afe5f01b670452e
fix: ensure OCPP payload validation report error details

The validate() is already bound to Ajv and cannot be rebinded to
a different instance.

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts