fix(api): align frontend with REST contracts

This commit is contained in:
2026-07-30 20:38:52 +08:00
parent b57e58ff87
commit 782363cfb6
65 changed files with 99362 additions and 318 deletions
@@ -85,7 +85,6 @@ const SchemeQuery: React.FC<Props> = ({
setLoading(true);
try {
const params: Record<string, string> = {
network: NETWORK_NAME,
scheme_type: "dma_leak_identification",
};
if (!queryAll && queryDate) {
@@ -129,7 +128,6 @@ const SchemeQuery: React.FC<Props> = ({
`${config.BACKEND_URL}/api/v1/schemes/${encodeURIComponent(schemeName)}`,
{
params: {
network: NETWORK_NAME,
scheme_type: "dma_leak_identification",
},
},