From 29a9808f46c27921334ba5ca7d16d8a8ad34a231 Mon Sep 17 00:00:00 2001 From: Chiara Seim Date: Fri, 8 Mar 2024 09:27:28 -0800 Subject: [PATCH] Remove installation date from installation details This same information is better handled in existing DeviceEntry field first_seen in ops and is hanging around doing nothing here. --- althea_types/src/user_info.rs | 4 ---- rita_client/src/dashboard/installation_details.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/althea_types/src/user_info.rs b/althea_types/src/user_info.rs index 587d5739a..1fb0209c0 100644 --- a/althea_types/src/user_info.rs +++ b/althea_types/src/user_info.rs @@ -1,6 +1,5 @@ use std::collections::{HashMap, VecDeque}; use std::net::Ipv4Addr; -use std::time::SystemTime; /// Contains all the data you need for an American mailing address /// hopefully also compatible with a few other countries @@ -58,9 +57,6 @@ pub struct InstallationDetails { /// Description of the installation and equipment at the /// location pub equipment_details: String, - /// Time of install, this is set by the operator tools when it accepts - /// the value because the router system clocks may be problematic. - pub install_date: Option, } /// The old storage method for usage tracker data that stores flat data diff --git a/rita_client/src/dashboard/installation_details.rs b/rita_client/src/dashboard/installation_details.rs index a9cb3769f..501152c4f 100644 --- a/rita_client/src/dashboard/installation_details.rs +++ b/rita_client/src/dashboard/installation_details.rs @@ -93,7 +93,6 @@ pub async fn set_installation_details(req: Json) -> Htt relay_antennas: parsed_relay_antenna_ips, physical_address: input.physical_address, equipment_details: input.equipment_details, - install_date: None, }; let new_billing_details = BillingDetails { user_first_name: input.first_name,