ejs-upgrade-shermdog
Moe 2023-12-26 19:17:11 -08:00
parent 0452c7a25c
commit 6bd2b56919
1 changed files with 3 additions and 3 deletions

View File

@ -391,7 +391,7 @@ module.exports = (s,config,lang) => {
where: [
['status','!=','0'],
['ke','=',groupKey],
['details','LIKE',`%"type":"${storageType}"%`],
['type','=',storageType],
],
orderBy: ['time','asc'],
limit: 2
@ -413,7 +413,7 @@ module.exports = (s,config,lang) => {
amount : -(video.size/1048576),
storageType : storageType
})
s.deleteVideoFromCloudExtensionsRunner(groupKey,storageType,video)
s.deleteVideoFromCloudExtensionsRunner({ke: groupKey},storageType,video)
})
const whereGroupLength = whereGroup.length
if(whereGroupLength > 0){
@ -464,7 +464,7 @@ module.exports = (s,config,lang) => {
amount : -(frame.size/1048576),
storageType : storageType
})
// s.deleteVideoFromCloudExtensionsRunner(groupKey,storageType,frame)
// s.deleteVideoFromCloudExtensionsRunner({ke: groupKey},storageType,frame)
})
const whereGroupLength = whereGroup.length
if(whereGroupLength > 0){