diff --git a/webapp/backend/apiserver/controllers/crewController.js b/webapp/backend/apiserver/controllers/crewController.js index ef2eb1ef687ffd5893a460076e5f0330f2b4695a..df10eb155a2efe723d0ca39f3a018ccd4595c51b 100644 --- a/webapp/backend/apiserver/controllers/crewController.js +++ b/webapp/backend/apiserver/controllers/crewController.js @@ -239,6 +239,7 @@ exports.getCrews = async (req, res) => { where, limit: itemsPerPage, offset, + order: [['crewID', 'DESC']], }); res.status(200).json({ diff --git a/webapp/backend/apiserver/controllers/eventController.js b/webapp/backend/apiserver/controllers/eventController.js index 0414456119fde5e2ff4a387418be51c0f1cddd74..83be49d50a0268b8e9d2b19fa29155d841fb918f 100644 --- a/webapp/backend/apiserver/controllers/eventController.js +++ b/webapp/backend/apiserver/controllers/eventController.js @@ -30,6 +30,7 @@ exports.getEvents = async (req, res) => { where, limit: itemsPerPage, offset, + order: [['crewID', 'DESC']], }); // 응답 데이터 반환