mirror of
https://github.com/pawelmalak/flame.git
synced 2025-08-05 02:45:18 +02:00
filter categories in server instead of the client and small fixes following latest rebase
This commit is contained in:
parent
cb794daf73
commit
64a9dabdd6
6 changed files with 35 additions and 34 deletions
|
@ -15,6 +15,10 @@ router
|
|||
.post(createCategory)
|
||||
.get(getCategories);
|
||||
|
||||
router
|
||||
.route('/:type')
|
||||
.get(getCategories);
|
||||
|
||||
router
|
||||
.route('/:id')
|
||||
.get(getCategory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue