timelapse and minor error fixes

install-with-shinobicctv-user-instead-of-root
Austin Lakeman 2020-08-25 21:55:01 +00:00
parent cc48dac1dd
commit 31eaa2efbc
2 changed files with 5 additions and 2 deletions

View File

@ -219,11 +219,14 @@ module.exports = function(s,config,lang,app,io){
return
}
const monitorRestrictions = s.getMonitorRestrictions(user.details,req.params.id)
getFrameRows({
s.getDatabaseRows({
monitorRestrictions: monitorRestrictions,
table: 'Timelapse Frames',
groupKey: req.params.ke,
archived: req.query.archived,
filename: req.params.filename,
rowType: 'frames',
endIsStartTo: true
},(response) => {
var frame = response.frames[0]
if(frame){

File diff suppressed because one or more lines are too long