fix syntax for video email attachment on event
parent
cb83daeab8
commit
7f9aa5b705
|
|
@ -3338,8 +3338,8 @@ s.camera=function(x,e,cn,tx){
|
|||
}
|
||||
detectorStreamBuffers.slice(detectorStreamBuffers.length - 2,detectorStreamBuffers.length).forEach(function(filepath,n){
|
||||
files.push({
|
||||
attachment: filepath,
|
||||
name: 'Video Clip '+n+'.ts'
|
||||
filename: 'Video Clip '+n+'.ts',
|
||||
content: fs.readFileSync(filepath)
|
||||
})
|
||||
})
|
||||
if(screenshotBuffer){
|
||||
|
|
|
|||
Loading…
Reference in New Issue