···305305 rp.pages.Notice(w, "issue-action", "Failed to close issue. Try again later.")
306306 return
307307 }
308308+ // change the issue state (this will pass down to the notifiers)
309309+ issue.Open = false
308310309311 // notify about the issue closure
310312 rp.notifier.NewIssueClosed(r.Context(), issue)
···353355 rp.pages.Notice(w, "issue-action", "Failed to reopen issue. Try again later.")
354356 return
355357 }
358358+ // change the issue state (this will pass down to the notifiers)
359359+ issue.Open = true
360360+361361+ // // notify about the issue reopen
362362+ // rp.notifier.NewIssueReopen(r.Context(), issue)
363363+356364 rp.pages.HxLocation(w, fmt.Sprintf("/%s/issues/%d", f.OwnerSlashRepo(), issue.IssueId))
357365 return
358366 } else {