diff --git a/backend/routes/admin.js b/backend/routes/admin.js index a01ceeb..c4330c1 100644 --- a/backend/routes/admin.js +++ b/backend/routes/admin.js @@ -1662,12 +1662,7 @@ router.delete("/schedules/:id", authenticateToken, async (req, res) => { // 봇 목록 조회 router.get("/bots", authenticateToken, async (req, res) => { try { - const [bots] = await pool.query( - `SELECT b.*, c.channel_id, c.channel_name, c.rss_url, c.include_shorts - FROM bots b - LEFT JOIN bot_youtube_config c ON b.id = c.bot_id - ORDER BY b.created_at DESC` - ); + const [bots] = await pool.query(`SELECT * FROM bots ORDER BY id ASC`); res.json(bots); } catch (error) { console.error("봇 목록 조회 오류:", error);