Merge branch 'dev' into 'master'
fix syntax for video email attachment on event See merge request Shinobi-Systems/Shinobi!15revert-b25c0d81
commit
80260b0798
|
|
@ -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