mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: new view for concert history
This commit is contained in:
parent
08717c24bc
commit
0773f39763
6 changed files with 155 additions and 8 deletions
|
|
@ -21,6 +21,9 @@ router.get(
|
|||
router.get(
|
||||
'/history',
|
||||
asyncHandler(async (req, res) => {
|
||||
if (req.query.full) {
|
||||
return res.json(await setlistsRepo.findHistoryWithSongs());
|
||||
}
|
||||
res.json(await setlistsRepo.findHistory());
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue