fix(calls): fix some bugs encountered during refactor

This commit is contained in:
Taso committed 2021-07-28 14:26:01 -04:00
1 parent 10c5e97088
commit af6e291368
9 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@ class CallsService {
}
async handleEndCall(reqObj: PromiseRequest<EndCallDTO>, resp: PromiseEventResp<void>) {
const transmitterNumber = reqObj.data.transmitter;
const transmitterNumber = reqObj.data.transmitterNumber;
const endCallTimeUnix = Math.floor(new Date().getTime() / 1000);
const currentCall = this.callMap.get(transmitterNumber);