Filter crew events to only be visible for crew

This commit is contained in:
Hornwitser 2025-03-10 16:26:52 +01:00
parent 13f344472e
commit 4806343250
9 changed files with 96 additions and 17 deletions

View file

@ -25,7 +25,7 @@ export default defineEventHandler(async (event) => {
}
]
});
broadcastUpdate(schedule);
await broadcastUpdate(schedule);
await writeSchedule(schedule);
await sendPush("New event", `${name} will start at ${start}`);
});