repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply dependencies update
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ui-server
/
UIHttpServer.ts
diff --git
a/src/charging-station/ui-server/UIHttpServer.ts
b/src/charging-station/ui-server/UIHttpServer.ts
index 9f423ce4157a61d5aa89f25e417dbf34765ad930..de4061106619d4985365d778ee959547fa080c6b 100644
(file)
--- a/
src/charging-station/ui-server/UIHttpServer.ts
+++ b/
src/charging-station/ui-server/UIHttpServer.ts
@@
-80,7
+80,7
@@
export default class UIHttpServer extends AbstractUIServer {
const uuid = Utils.generateUUID();
this.responseHandlers.set(uuid, { procedureName, res });
try {
const uuid = Utils.generateUUID();
this.responseHandlers.set(uuid, { procedureName, res });
try {
- if (UIServiceUtils.isProtocolSupported(protocol, version) === false) {
+ if (UIServiceUtils.isProtocol
AndVersion
Supported(protocol, version) === false) {
throw new BaseError(`Unsupported UI protocol version: '/${protocol}/${version}'`);
}
req.on('error', (error) => {
throw new BaseError(`Unsupported UI protocol version: '/${protocol}/${version}'`);
}
req.on('error', (error) => {