X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Fui-server%2FUIServerUtils.ts;h=79f8c34a74d5eec236dc8ab84aa672617b2f0daf;hb=e1d9a0f4d6ff1a90048e9a694fd12b7031cc6961;hp=2b0bf3de152253e5aec13d33c817cc861ac5a365;hpb=0215fd1419fd04f16394ae320e3d32226a63bdac;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ui-server/UIServerUtils.ts b/src/charging-station/ui-server/UIServerUtils.ts index 2b0bf3de..79f8c34a 100644 --- a/src/charging-station/ui-server/UIServerUtils.ts +++ b/src/charging-station/ui-server/UIServerUtils.ts @@ -13,8 +13,8 @@ export class UIServerUtils { // eslint-disable-next-line @typescript-eslint/no-unused-vars request: IncomingMessage, ): string | false => { - let protocol: Protocol; - let version: ProtocolVersion; + let protocol: Protocol | undefined; + let version: ProtocolVersion | undefined; if (protocols.size === 0) { return false; }