From 360155152b934af97265509eab714ed7b7577db2 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Wed, 15 Oct 2025 12:23:05 +0100 Subject: [PATCH] appview/models: fix redundant indirection PullSource already contains RepoAt, we do not have to access the optional Repo field. Signed-off-by: oppiliappan --- appview/models/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appview/models/pull.go b/appview/models/pull.go index f32412a0..2ca51db7 100644 --- a/appview/models/pull.go +++ b/appview/models/pull.go @@ -88,7 +88,7 @@ func (p Pull) AsRecord() tangled.RepoPull { source.Branch = p.PullSource.Branch source.Sha = p.LatestSha() if p.PullSource.RepoAt != nil { - s := p.PullSource.Repo.RepoAt().String() + s := p.PullSource.RepoAt.String() source.Repo = &s } } -- 2.51.2