|
@@ -53,6 +53,7 @@ export const getRecentThreadsFactory: GetRecentThreadsFactory = (crowi) => {
|
|
|
{
|
|
{
|
|
|
page: req.query.page ?? 1,
|
|
page: req.query.page ?? 1,
|
|
|
limit: req.query.limit ?? 10,
|
|
limit: req.query.limit ?? 10,
|
|
|
|
|
+ sort: { updatedAt: -1 },
|
|
|
},
|
|
},
|
|
|
);
|
|
);
|
|
|
return res.apiv3({ paginateResult });
|
|
return res.apiv3({ paginateResult });
|