bug fix v2 (lul)

This commit is contained in:
ngn 2023-07-10 21:30:46 +03:00 committed by GitHub
parent 43206c304e
commit 6bde08cf67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ blog.post("/add", async (req, res) => {
typeof title !== "string" ||
typeof author !== "string" ||
typeof content !== "string" ||
typeof priv !== boolean
typeof priv !== "boolean"
)
return res.json({ error: 1 })