forked from tangled.org/core
Monorepo for Tangled

appview/pulls: fix CreatedAt record field missing sometimes

Signed-off-by: 5jiji <git@5jiji.com>

authored by 5jiji.com and committed by oppi.li 85f8805e 26250669

Changed files
+6 -4
appview
pulls
+6 -4
appview/pulls/pulls.go
··· 1153 1153 Repo: string(f.RepoAt()), 1154 1154 Branch: targetBranch, 1155 1155 }, 1156 - Patch: patch, 1157 - Source: recordPullSource, 1156 + Patch: patch, 1157 + Source: recordPullSource, 1158 + CreatedAt: time.Now().Format(time.RFC3339), 1158 1159 }, 1159 1160 }, 1160 1161 }) ··· 1805 1806 Repo: string(f.RepoAt()), 1806 1807 Branch: pull.TargetBranch, 1807 1808 }, 1808 - Patch: patch, // new patch 1809 - Source: recordPullSource, 1809 + Patch: patch, // new patch 1810 + Source: recordPullSource, 1811 + CreatedAt: time.Now().Format(time.RFC3339), 1810 1812 }, 1811 1813 }, 1812 1814 })