summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorlimiting-factor <limiting-factor@posteo.com>2024-08-21 12:21:26 +0200
committerEarl Warren <contact@earl-warren.org>2025-01-07 17:13:21 +0100
commit63204e8edf359aae6e3cf2f9ca837124b210c78e (patch)
treea84ff14071b34173036e7f4f01c310f493a6bb45 /services
parentfix: f3: update issue is_locked (diff)
downloadforgejo-63204e8edf359aae6e3cf2f9ca837124b210c78e.tar.xz
forgejo-63204e8edf359aae6e3cf2f9ca837124b210c78e.zip
fix: f3: update milestone is_closed & deadline_unix
Diffstat (limited to 'services')
-rw-r--r--services/f3/driver/milestone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/f3/driver/milestone.go b/services/f3/driver/milestone.go
index 222407fc30..f133d37f7a 100644
--- a/services/f3/driver/milestone.go
+++ b/services/f3/driver/milestone.go
@@ -117,7 +117,7 @@ func (o *milestone) Get(ctx context.Context) bool {
func (o *milestone) Patch(ctx context.Context) {
o.Trace("%d", o.forgejoMilestone.ID)
- if _, err := db.GetEngine(ctx).ID(o.forgejoMilestone.ID).Cols("name", "description").Update(o.forgejoMilestone); err != nil {
+ if _, err := db.GetEngine(ctx).ID(o.forgejoMilestone.ID).Cols("name", "description", "is_closed", "deadline_unix").Update(o.forgejoMilestone); err != nil {
panic(fmt.Errorf("UpdateMilestoneCols: %v %v", o.forgejoMilestone, err))
}
}