Correct routing detection error.

This commit is contained in:
Herbert Wolverson 2025-01-15 09:28:41 -06:00
parent 0dbf0efee0
commit f5a2693261

View File

@ -19,12 +19,12 @@ impl UispDataLink {
let mut from_site_id = String::new();
let mut to_site_id = String::new();
let mut to_site_name = String::new();
let from_site_name = String::new();
let mut from_site_name = String::new();
// Obvious Site Links
if let Some(from_site) = &value.from.site {
from_site_id = from_site.identification.id.clone();
to_site_id = from_site.identification.name.clone();
from_site_name = from_site.identification.name.clone();
}
if let Some(to_site) = &value.to.site {
to_site_id = to_site.identification.id.clone();