you are Very stupid

This commit is contained in:
May 2023-05-09 22:53:50 -07:00
parent baebcfa716
commit d916247e0d

View file

@ -70,7 +70,7 @@ fileApiRoutes.post("/manage", parser, (req,res) => {
case "changeFileVisibility": case "changeFileVisibility":
if (!["public","anonymous","private"].includes(req.body.value)) return; if (!["public","anonymous","private"].includes(req.body.value)) return;
files.files[e].visibility = req.body.visibility; files.files[e].visibility = req.body.value;
modified++; modified++;
break; break;
} }