cron syntax fix for file size setting after old video delete+

cron-addstorage-fix^2
Moe 2021-11-28 09:25:01 -08:00
parent f15905f859
commit 63c268aec3
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ const deleteVideosByDays = async (v,days,addedQueries) => {
const filename = formattedTime(row.time) + '.' + row.ext
try{
await fs.promises.unlink(dir + filename)
clearSize += row.size
clearSize += row.size / 1048576
sendToWebSocket({
f: 'video_delete',
filename: filename + '.' + row.ext,