Added Data to SituationsBoard
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user