mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-10 15:42:16 +01:00
fix: f3: update issue is_locked
This commit is contained in:
parent
168c1d806b
commit
946b77115e
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func (o *issue) Patch(ctx context.Context) {
|
|||
index := node.GetID().Int64()
|
||||
id := getIssueID(ctx, project, index)
|
||||
o.Trace("id = %d, repo_id = %d, index = %d, assignees = %v", id, project, index, o.forgejoIssue.Assignees)
|
||||
if _, err := db.GetEngine(ctx).Where("`id` = ?", id).Cols("name", "content", "is_closed", "milestone_id").Update(o.forgejoIssue); err != nil {
|
||||
if _, err := db.GetEngine(ctx).Where("`id` = ?", id).Cols("name", "content", "is_closed", "milestone_id", "is_locked").Update(o.forgejoIssue); err != nil {
|
||||
panic(fmt.Errorf("%v %v", o.forgejoIssue, err))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue