We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eebf17 commit cb0a900Copy full SHA for cb0a900
web_src/js/features/repo-release.ts
@@ -80,11 +80,12 @@ function initGenerateReleaseNotes() {
80
const resp = await POST(generateUrl, {
81
data: form,
82
});
83
- const data = await resp.json();
+
84
if (!resp.ok) {
85
throw new Error(data.errorMessage || resp.statusText);
86
}
87
88
+ const data = await resp.json();
89
previousTagSelect.value = data.previous_tag;
90
previousTagSelect.dispatchEvent(new Event('change', {bubbles: true}));
91
0 commit comments