fix fileBin purging function
parent
368c23af25
commit
ba40d5bdb1
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue