Change issue close reason from not_planned to completed

This commit is contained in:
Dax Raad
2026-03-24 23:55:10 -04:00
parent be142b00bd
commit 4f9667c4bb

View File

@@ -38,7 +38,7 @@ async function close(num: number) {
const patch = await fetch(base, { const patch = await fetch(base, {
method: "PATCH", method: "PATCH",
headers, headers,
body: JSON.stringify({ state: "closed", state_reason: "not_planned" }), body: JSON.stringify({ state: "closed", state_reason: "completed" }),
}) })
if (!patch.ok) throw new Error(`Failed to close #${num}: ${patch.status} ${patch.statusText}`) if (!patch.ok) throw new Error(`Failed to close #${num}: ${patch.status} ${patch.statusText}`)