fix log message for deleteOldVideo
parent
a66492b871
commit
7a00470f7c
2
cron.js
2
cron.js
|
@ -221,7 +221,7 @@ const deleteVideosByDays = async (v,days,addedQueries) => {
|
||||||
table: "Videos",
|
table: "Videos",
|
||||||
where: whereQuery
|
where: whereQuery
|
||||||
})
|
})
|
||||||
affectedRows = deleteResponse.rows.affectedRows || 0
|
affectedRows = deleteResponse.rows || 0
|
||||||
setDiskUsedForGroup(v.ke,-clearSize)
|
setDiskUsedForGroup(v.ke,-clearSize)
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue