1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-23 13:29:35 +02:00

Adding Categories and Bookmarks using form

This commit is contained in:
unknown 2021-05-24 12:35:54 +02:00
parent 38edb76929
commit c145888aec
7 changed files with 116 additions and 13 deletions

View file

@ -23,7 +23,8 @@ exports.getCategories = asyncWrapper(async (req, res, next) => {
include: [{
model: Bookmark,
as: 'bookmarks'
}]
}],
order: [['name', 'ASC']]
});
res.status(200).json({