fix return last record as record not array

This commit is contained in:
Yousef Soliman
2020-04-02 12:11:20 +02:00
committed by GitHub
parent 94fc582eef
commit a51fa4fdf2

View File

@@ -101,7 +101,7 @@ export default class {
}
lastRecord () {
return this.records.slice(-1)
return this.records.slice(-1).pop()
}
_micCaptured (stream) {