Added bills upload & list

This commit is contained in:
Patrick Fic
2022-05-03 17:30:24 -07:00
parent 8d851c52b2
commit b7be304520
14 changed files with 226 additions and 6081 deletions

View File

@@ -0,0 +1,7 @@
import path from "path";
export default function (file: Express.Multer.File) {
return `${file.originalname}-${Math.floor(Date.now() / 1000)}${path.extname(
file.originalname
)}`;
}