This commit is contained in:
May 2023-05-09 22:32:43 -07:00
parent 6337521983
commit dd39eff6b5

View file

@ -45,7 +45,7 @@ fileApiRoutes.get("/list", (req,res) => {
}) })
fileApiRoutes.post("/manage", (req,res) => { fileApiRoutes.post("/manage", parser, (req,res) => {
if (!auth.validate(req.cookies.auth)) { if (!auth.validate(req.cookies.auth)) {
ServeError(res, 401, "not logged in") ServeError(res, 401, "not logged in")