diff --git a/routes/data.go b/routes/data.go index a92c85b..fab1192 100644 --- a/routes/data.go +++ b/routes/data.go @@ -1,3 +1,4 @@ +// Package routes provides data processing functions for EVE PI endpoints. package routes import ( @@ -191,7 +192,7 @@ func FormatStorageAlert(storage StorageInfo, isCritical bool) string { severity = "CRITICAL" } - return fmt.Sprintf("🚨 %s: %s almost full on %s! (%.1f%% utilized)", + return fmt.Sprintf("🚨 %s: %s almost full on %s! (%.1f%% utilized)", severity, storage.StorageType, storage.PlanetName, storage.Utilization) } @@ -207,6 +208,6 @@ func FormatExtractorAlert(extractor ExtractorInfo, isCritical bool) string { status = "expired" } - return fmt.Sprintf("⏰ %s: Extractor #%d %s on %s! (expires: %s)", + return fmt.Sprintf("⏰ %s: Extractor #%d %s on %s! (expires: %s)", severity, extractor.ExtractorNumber, status, extractor.PlanetName, extractor.ExpiryDate) }