mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
Change issue close reason from not_planned to completed
This commit is contained in:
@@ -38,7 +38,7 @@ async function close(num: number) {
|
||||
const patch = await fetch(base, {
|
||||
method: "PATCH",
|
||||
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}`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user