Skip to content
Snippets Groups Projects
Commit 67a230f1 authored by MinJae Kwon's avatar MinJae Kwon
Browse files

chore: order by id desc

parent 6578e4bf
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,7 @@ exports.getCrews = async (req, res) => {
where,
limit: itemsPerPage,
offset,
order: [['crewID', 'DESC']],
});
res.status(200).json({
......
......@@ -30,6 +30,7 @@ exports.getEvents = async (req, res) => {
where,
limit: itemsPerPage,
offset,
order: [['crewID', 'DESC']],
});
// 응답 데이터 반환
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment