mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-28 16:36:27 -08:00
you are Very stupid
This commit is contained in:
parent
baebcfa716
commit
d916247e0d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue