mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: temporary uploads stats counter
This commit is contained in:
parent
3b2808f0fd
commit
c4caee42ca
@ -198,7 +198,7 @@ self.getUploadsStats = async db => {
|
||||
}
|
||||
|
||||
if (upload.expirydate !== null) {
|
||||
stats.Temporary++
|
||||
stats.Temporary.value++
|
||||
}
|
||||
|
||||
stats['Size in DB'].value += parseInt(upload.size)
|
||||
|
Loading…
Reference in New Issue
Block a user