fix fileBin purging function

fix-non-showing-inputs
Moe Alam 2020-10-09 22:50:49 -07:00
parent 368c23af25
commit ba40d5bdb1
1 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ module.exports = (s,config,lang) => {
const deleteSetOfFileBinFiles = function(options,callback){
const groupKey = options.groupKey
const err = options.err
const frames = options.frames
const files = options.files
const storageIndex = options.storageIndex
var whereGroup = []
var whereQuery = [
@ -328,11 +328,11 @@ module.exports = (s,config,lang) => {
],
orderBy: ['time','asc'],
limit: 1
},(err,frames) => {
},(err,files) => {
deleteSetOfFileBinFiles({
groupKey: groupKey,
err: err,
frames: frames,
files: files,
storageIndex: null
},callback)
})