fix: 修正 review API 的 JSON 字段名(base/head 而非 base_ref/head_ref)

This commit is contained in:
2026-06-19 22:39:12 +08:00
parent d320c3a847
commit ba46b1479b
+2 -2
View File
@@ -237,8 +237,8 @@
let currentFile = ''; let currentFile = '';
currentSSE = SSE.post(`/api/repos/${repoId}/review`, { currentSSE = SSE.post(`/api/repos/${repoId}/review`, {
base_ref: baseRef, base: baseRef,
head_ref: headRef, head: headRef,
top_n: parseInt(topN) || 0, top_n: parseInt(topN) || 0,
}, { }, {
start(data) { start(data) {