Fix system path in notification urls

This commit is contained in:
henrygd
2025-05-08 19:06:19 -04:00
parent f4fb7a89e5
commit 6107f52d07
2 changed files with 2 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ func (am *AlertManager) sendStatusAlert(alertStatus string, systemName string, a
UserID: user.Id,
Title: title,
Message: message,
Link: am.hub.MakeLink("systems", systemName),
Link: am.hub.MakeLink("system", systemName),
LinkText: "View " + systemName,
})
}

View File

@@ -284,7 +284,7 @@ func (am *AlertManager) sendSystemAlert(alert SystemAlertData) {
UserID: user.Id,
Title: subject,
Message: body,
Link: am.hub.MakeLink("systems", systemName),
Link: am.hub.MakeLink("system", systemName),
LinkText: "View " + systemName,
})
}