Remove gateway from detailed service provider type
This commit is contained in:
@@ -71,7 +71,6 @@ pub async fn get_services() -> Result<Vec<DirectorySpDetailed>, GetSpError> {
|
||||
id: sp.id.clone(),
|
||||
description: sp.description.clone(),
|
||||
address: sp.address.clone(),
|
||||
gateway: sp.gateway.clone(),
|
||||
routing_score: directory_sp.map(|sp| sp.routing_score),
|
||||
service_type: "Network requester".into(),
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ pub struct DirectorySpDetailed {
|
||||
pub id: String,
|
||||
pub description: String,
|
||||
pub address: String,
|
||||
pub gateway: String,
|
||||
pub routing_score: Option<f32>,
|
||||
pub service_type: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user