forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

appview/pulls: fix CreatedAt record field missing sometimes

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

Changed files
+6 -4
appview
pulls
+6 -4
appview/pulls/pulls.go
···
Repo: string(f.RepoAt()),
Branch: targetBranch,
},
-
Patch: patch,
-
Source: recordPullSource,
+
Patch: patch,
+
Source: recordPullSource,
+
CreatedAt: time.Now().Format(time.RFC3339),
},
},
})
···
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),
},
},
})