cleaner prune function
This commit is contained in:
parent
135c772723
commit
0a0d9b9802
4 changed files with 40 additions and 34 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue