Filter crew events to only be visible for crew
This commit is contained in:
parent
13f344472e
commit
4806343250
9 changed files with 96 additions and 17 deletions
|
@ -30,7 +30,7 @@ export default defineEventHandler(async (event) => {
|
|||
}
|
||||
]
|
||||
};
|
||||
broadcastUpdate(schedule);
|
||||
await broadcastUpdate(schedule);
|
||||
await writeSchedule(schedule);
|
||||
if (timeChanged)
|
||||
await sendPush(`New time for ${name}`, `${name} will now start at ${start}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue