mirror of https://github.com/go-gitea/gitea
Use AfterCommitId to get commit for Viewed functionality (#25529)
the PullHeadCommitID is not always available when the PR is merged. Not sure if this is the best solution but in my simple tests it looks like this fixes the problem - happy to get any feedback. hopefully fixes https://github.com/go-gitea/gitea/issues/24813pull/25596/head^2
parent
65acd1e9ef
commit
ed8a8af99f
Loading…
Reference in new issue