fix: 修正 review API 的 JSON 字段名(base/head 而非 base_ref/head_ref)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user