bug fix lul
This commit is contained in:
parent
287691b2ad
commit
43206c304e
@ -68,7 +68,7 @@ blog.post("/add", async (req, res) => {
|
||||
typeof title !== "string" ||
|
||||
typeof author !== "string" ||
|
||||
typeof content !== "string" ||
|
||||
typeof priv !== "string"
|
||||
typeof priv !== boolean
|
||||
)
|
||||
return res.json({ error: 1 })
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user