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
refactor: cleanup get composite schedule code
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
OCPPRequestService.ts
diff --git
a/src/charging-station/ocpp/OCPPRequestService.ts
b/src/charging-station/ocpp/OCPPRequestService.ts
index 4e094a21bcf58db12067cff530563ac6ec05d12f..4e456963798a6f121b1bd89594dd956f59c49bce 100644
(file)
--- a/
src/charging-station/ocpp/OCPPRequestService.ts
+++ b/
src/charging-station/ocpp/OCPPRequestService.ts
@@
-295,7
+295,7
@@
export abstract class OCPPRequestService {
const self = this;
// Send a message through wsConnection
return promiseWithTimeout(
- new Promise((resolve, reject) => {
+ new Promise
<ResponseType>
((resolve, reject) => {
/**
* Function that will receive the request's response
*