mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: approve or disaprove suggrestions by sweeping
This commit is contained in:
parent
061df3b1c6
commit
e368a8681b
5 changed files with 566 additions and 54 deletions
|
|
@ -10,7 +10,7 @@ const router = express.Router();
|
|||
router.get(
|
||||
'/',
|
||||
asyncHandler(async (req, res) => {
|
||||
res.json(await suggestionsRepo.findAll());
|
||||
res.json(await suggestionsRepo.findAll(req.user.id));
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue