Men Express yordamida NodeJS backend yaratyapman va quyidagi xatoliklarni ko'ryapman: `Uncaught TypeError: Cannot read properties of undefined (reading 'id')` Mening bu xatolik sodir bo'lgan kodim quyidagicha: ``` app.delete'/post', (req, res) => { const user = getUser(req.user.user_id); if (!user) return res.sendStatus(401); post = getPostreq.body.id); if (!post) return res.sendStatus(404); if (post.user_id!=q.re.user_id) return res.sendStatus(403); // Kod, qaytarib berish orqali postni o'chirib tashlaydi DB res.Status res.send); }(201);
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence