mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: add date to calendar when clicking on calendar and see who accepted the proposition
This commit is contained in:
parent
44dacf4196
commit
f61deeac22
3 changed files with 24 additions and 3 deletions
|
|
@ -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 })
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue