refactor(frontend): normalize naming conventions

This commit is contained in:
2026-06-13 13:07:16 +08:00
parent 6ff8886524
commit 0dea655f68
30 changed files with 87 additions and 33 deletions
@@ -242,7 +242,7 @@ const AnalysisParameters: React.FC = () => {
// but axios usually handles array as valves[]=1&valves[]=2
// FastAPI default expects repeated query params.
const response = await api.get(`${config.BACKEND_URL}/api/v1/flushing_analysis/`, {
const response = await api.get(`${config.BACKEND_URL}/api/v1/flushing-analysis`, {
params,
// Ensure arrays are sent as repeated keys: valves=1&valves=2
paramsSerializer: {