removing legacy
This commit is contained in:
@@ -109,7 +109,7 @@ impl ValidationForm {
|
||||
table_name,
|
||||
data_key: data_key.clone(),
|
||||
validation: Some(self.validation(locale, data_key)?),
|
||||
update_mask: None,
|
||||
update_mask: Some(prost_types::FieldMask { paths: ["limits", "pattern", "allowed_values", "external_validation_enabled", "mask", "required", "locked"].into_iter().map(String::from).collect() }),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ pub(crate) fn router() -> Router<AppState> {
|
||||
"/admin/exchange-rates/evidence",
|
||||
post(workspace_logic::evidence),
|
||||
)
|
||||
.route("/admin/ecb", get(workspace_logic::legacy_ecb))
|
||||
.route("/admin/ecb/provider", get(logic::page))
|
||||
// The status card on its own, for the poll that keeps it live while a
|
||||
// batch is running.
|
||||
|
||||
@@ -22,10 +22,6 @@ use super::{
|
||||
workspace_ui,
|
||||
};
|
||||
|
||||
pub(crate) async fn legacy_ecb() -> Redirect {
|
||||
Redirect::permanent("/admin/exchange-rates#providers")
|
||||
}
|
||||
|
||||
pub(crate) async fn page(
|
||||
State(state): State<AppState>,
|
||||
headers: HeaderMap,
|
||||
|
||||
Reference in New Issue
Block a user