Fix bug reported by user before I forget
This commit is contained in:
parent
2a93de9487
commit
5aaf568ed5
|
@ -16,6 +16,10 @@ function trackDoorRunBegin(client, doorTag) {
|
|||
}
|
||||
|
||||
function trackDoorRunEnd(trackInfo) {
|
||||
if (!trackInfo) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { startTime, client, doorTag } = trackInfo;
|
||||
|
||||
const diff = moment.duration(moment().diff(startTime));
|
||||
|
|
Loading…
Reference in New Issue