fix syntax for video email attachment on event

merge-requests/3/head
Moe 2018-07-09 13:02:26 -07:00
parent cb83daeab8
commit 7f9aa5b705
1 changed files with 2 additions and 2 deletions

View File

@ -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){