removing legacy

This commit is contained in:
Priec
2026-09-15 00:13:30 +02:00
parent 03b50e8f81
commit c7e303c2d6
16 changed files with 13 additions and 38 deletions

View File

@@ -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() }),
})
}

View File

@@ -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.

View File

@@ -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,