Signed-off-by: Seongmin Lee git@boltless.me
+1
-1
Diff
round #2
+1
-1
appview/pulls/pulls.go
+1
-1
appview/pulls/pulls.go
···
228
228
reactionMap, err := db.GetReactionMap(s.db, 20, pull.AtUri())
229
229
if err != nil {
230
230
log.Println("failed to get pull reactions")
231
-
s.pages.Notice(w, "pulls", "Failed to load pull. Try again later.")
232
231
}
233
232
234
233
userReactions := map[models.ReactionKind]bool{}
···
1875
1874
record := pull.AsRecord()
1876
1875
record.PatchBlob = blob.Blob
1877
1876
record.CreatedAt = time.Now().Format(time.RFC3339)
1877
+
record.Source.Sha = newSourceRev
1878
1878
1879
1879
_, err = comatproto.RepoPutRecord(r.Context(), client, &comatproto.RepoPutRecord_Input{
1880
1880
Collection: tangled.RepoPullNSID,
History
3 rounds
0 comments
boltless.me
submitted
#2
expand 0 comments
pull request successfully merged
boltless.me
submitted
#1
2 commits
expand
collapse
appview/pulls: update atproto record sha on resubmit
Signed-off-by: Seongmin Lee <git@boltless.me>
appview/pulls: don't notice on reaction db query failed
pull page can be rendered fine without reaction map
Signed-off-by: Seongmin Lee <git@boltless.me>
3/3 success
expand
collapse
expand 0 comments
boltless.me
submitted
#0
1 commit
expand
collapse
appview/pulls: update atproto record sha on resubmit
Signed-off-by: Seongmin Lee <git@boltless.me>