From 63204e8edf359aae6e3cf2f9ca837124b210c78e Mon Sep 17 00:00:00 2001 From: limiting-factor Date: Wed, 21 Aug 2024 12:21:26 +0200 Subject: [PATCH] fix: f3: update milestone is_closed & deadline_unix --- services/f3/driver/milestone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } }