update: add date to calendar when clicking on calendar and see who accepted the proposition

This commit is contained in:
Nathan FONTEYNE 2026-07-20 14:54:57 +02:00
parent 44dacf4196
commit f61deeac22
3 changed files with 24 additions and 3 deletions

View file

@ -47,6 +47,7 @@ router.post(
location: location ? location.trim() : null,
proposedBy: req.user.id,
});
await rehearsalsRepo.upsertVote(rehearsal.id, req.user.id, 'accept');
discord.notifyAll(
discord.rehearsalProposedMessage({ userName: req.user.name, startsAt: rehearsal.starts_at, location: rehearsal.location })
);