refactor: null -> undefined where appropriate
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPIncomingRequestService.ts
index b7ab8ef66382b1ac0e799294eccca7f676480855..85fd88e70ebaa624ef454a80493e52cc1dd8f748 100644 (file)
@@ -103,7 +103,7 @@ export abstract class OCPPIncomingRequestService extends AsyncResource {
       OCPPServiceUtils.ajvErrorsToErrorType(validate.errors!),
       'Incoming request PDU is invalid',
       commandName,
-      JSON.stringify(validate.errors, null, 2),
+      JSON.stringify(validate.errors, undefined, 2),
     );
   }