From dd44feea32a6b9f066de4f9bc6e3b893936a98ff Mon Sep 17 00:00:00 2001 From: urimJ Date: Sun, 10 Dec 2023 01:49:14 +0900 Subject: [PATCH] =?UTF-8?q?MOD:=20activeDateTime=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index e3f94af..f51a0d5 100644 --- a/main.js +++ b/main.js @@ -863,7 +863,7 @@ app.get('/mypage/myCollection/artistTab', verifyToken, async (req, res)=>{ app.get('/mypage/myCollection/:artistId/active', verifyToken, async (req, res)=>{ const userId = req.decoded.userId; const artistId = req.params.artistId; - const sql = `SELECT c.albumJacket, c.albumName, c.activeDateTime, c.photoCardQuant + const sql = `SELECT c.albumJacket, c.albumName, uc.activeDateTime, c.photoCardQuant FROM collections c INNER JOIN UserCollections uc ON uc.albumName = c.albumName INNER JOIN users u ON u.userId = uc.userId