From 6bde08cf676f2e2d1d8d51c987f1a12f32383ea7 Mon Sep 17 00:00:00 2001 From: ngn <78868991+ngn13@users.noreply.github.com> Date: Mon, 10 Jul 2023 21:30:46 +0300 Subject: [PATCH] bug fix v2 (lul) --- api/routes/blog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routes/blog.js b/api/routes/blog.js index bca0ecb..ccff3b8 100644 --- a/api/routes/blog.js +++ b/api/routes/blog.js @@ -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 })