cleaner prune function

This commit is contained in:
waveringana 2022-12-11 06:20:48 +00:00
parent 135c772723
commit 0a0d9b9802
4 changed files with 40 additions and 34 deletions

View file

@ -121,7 +121,7 @@ export const handleUpload: Middleware = (req, res, next) => {
next();
}
function insertToDB (filename: String, expireDate: Date, username: String, next: NextFunction) {
function insertToDB (filename: string, expireDate: Date, username: string, next: NextFunction) {
let params: MediaParams = [
filename,
expireDate,