diff --git a/templates/pages/generate.html b/templates/pages/generate.html
index bc7de56..626d5d1 100644
--- a/templates/pages/generate.html
+++ b/templates/pages/generate.html
@@ -156,8 +156,8 @@
const fields = { title: '', type: '', summary: '', details: '', impact: '' };
SSE.post(`/api/repos/${repoId}/generate`, {
- base_ref: baseRef,
- head_ref: headRef,
+ base: baseRef,
+ head: headRef,
}, {
title(data) {
fields.title += data.content || '';