Added Data to SituationsBoard

This commit is contained in:
PxlLoewe
2025-06-02 22:44:49 -07:00
parent ff18b2d72d
commit 4acdb48344
15 changed files with 344 additions and 7103 deletions

View File

@@ -63,6 +63,7 @@ export const sendAlert = async (
stationId: aircraft.stationId,
},
});
if (!existingMissionOnStationUser)
await prisma.missionOnStationUsers.create({
data: {
@@ -81,7 +82,7 @@ export const sendAlert = async (
stationId,
})),
})
.catch(() => {
.catch((err) => {
// Ignore if the entry already exists
});