This commit is contained in:
Leandro Facchinetti 2021-03-11 11:25:13 +00:00
parent 5525d199da
commit 1c9bcb750f
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ export default function killTheNewsletter(
webApplication.post<{}, HTML, { name?: string }, {}, {}>("/", (req, res) => {
if (
req.body.name === undefined ||
typeof req.body.name !== "string" ||
req.body.name.trim() === "" ||
req.body.name.length > 500
)