update: different colors for suggested rehersal and validated rehersal

This commit is contained in:
Nathan FONTEYNE 2026-08-11 11:44:42 +02:00
parent b056af78ac
commit a3d62200ce
10 changed files with 102 additions and 24 deletions

View file

@ -26,7 +26,12 @@ router.get(
const baseUrl = `${req.protocol}://${req.get('host')}`;
res
.type('text/calendar; charset=utf-8')
.send(buildRehearsalsFeed(rehearsals, { threshold: settings.rehearsalConfirmThreshold, baseUrl, allUsers }));
.send(buildRehearsalsFeed(rehearsals, {
threshold: settings.rehearsalConfirmThreshold,
hostUserId: settings.rehearsalHostUserId,
baseUrl,
allUsers,
}));
})
);