From 85f8805e246413fe68854742e26f69acb11e4ff5 Mon Sep 17 00:00:00 2001 From: 5jiji Date: Sun, 5 Oct 2025 02:39:40 +0200 Subject: [PATCH] appview/pulls: fix CreatedAt record field missing sometimes Signed-off-by: 5jiji --- appview/pulls/pulls.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/appview/pulls/pulls.go b/appview/pulls/pulls.go index 126202a7..64c368cc 100644 --- a/appview/pulls/pulls.go +++ b/appview/pulls/pulls.go @@ -1153,8 +1153,9 @@ func (s *Pulls) createPullRequest( Repo: string(f.RepoAt()), Branch: targetBranch, }, - Patch: patch, - Source: recordPullSource, + Patch: patch, + Source: recordPullSource, + CreatedAt: time.Now().Format(time.RFC3339), }, }, }) @@ -1805,8 +1806,9 @@ func (s *Pulls) resubmitPullHelper( Repo: string(f.RepoAt()), Branch: pull.TargetBranch, }, - Patch: patch, // new patch - Source: recordPullSource, + Patch: patch, // new patch + Source: recordPullSource, + CreatedAt: time.Now().Format(time.RFC3339), }, }, }) -- 2.51.2