update: new view for concert history

This commit is contained in:
Nathan FONTEYNE 2026-07-08 16:04:22 +02:00
parent 08717c24bc
commit 0773f39763
6 changed files with 155 additions and 8 deletions

View file

@ -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());
})
);