Fixed StationSelectBug, Fixed HPGNotificationGuf, see #45
This commit is contained in:
@@ -257,6 +257,9 @@ router.post("/:id/hpg-validation-result", async (req, res) => {
|
||||
type: "hpg-validation",
|
||||
status: "success",
|
||||
message: `HPG Validierung erfolgreich`,
|
||||
data: {
|
||||
mission: newMission,
|
||||
},
|
||||
} as NotificationPayload);
|
||||
|
||||
if (result.alertWhenValid) {
|
||||
@@ -268,6 +271,9 @@ router.post("/:id/hpg-validation-result", async (req, res) => {
|
||||
type: "hpg-validation",
|
||||
status: "failed",
|
||||
message: result.state,
|
||||
data: {
|
||||
mission: newMission,
|
||||
},
|
||||
} as NotificationPayload);
|
||||
}
|
||||
res.json({
|
||||
|
||||
Reference in New Issue
Block a user