修复数据库错误,重新注入示例数据

This commit is contained in:
Cheng Zhou
2025-12-17 11:32:13 +08:00
parent 45aa62ae17
commit 88d2502812
1558 changed files with 970 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { apiGet } from "./axios";
import type { ApiListResponse, Study } from "../types/api";
export const fetchStudies = () => apiGet<ApiListResponse<Study>>("/api/v1/studies");
// Backend expects trailing slash to avoid 307 redirect
export const fetchStudies = () => apiGet<ApiListResponse<Study>>("/api/v1/studies/");