diff --git a/appview/db/pulls.go b/appview/db/pulls.go index b77eb296..ae332815 100644 --- a/appview/db/pulls.go +++ b/appview/db/pulls.go @@ -91,15 +91,15 @@ func (p Pull) AsRecord() tangled.RepoPull { } record := tangled.RepoPull{ - Title: p.Title, - Body: &p.Body, - CreatedAt: p.Created.Format(time.RFC3339), + Title: p.Title, + Body: &p.Body, + CreatedAt: p.Created.Format(time.RFC3339), Target: &tangled.RepoPull_Target{ Repo: p.RepoAt.String(), Branch: p.TargetBranch, }, - Patch: p.LatestPatch(), - Source: source, + Patch: p.LatestPatch(), + Source: source, } return record } diff --git a/appview/pulls/pulls.go b/appview/pulls/pulls.go index 95d36e6a..d8b19928 100644 --- a/appview/pulls/pulls.go +++ b/appview/pulls/pulls.go @@ -1037,13 +1037,13 @@ func (s *Pulls) createPullRequest( Rkey: rkey, Record: &lexutil.LexiconTypeDecoder{ Val: &tangled.RepoPull{ - Title: title, + Title: title, Target: &tangled.RepoPull_Target{ Repo: string(f.RepoAt()), Branch: targetBranch, }, - Patch: patch, - Source: recordPullSource, + Patch: patch, + Source: recordPullSource, }, }, }) @@ -1611,13 +1611,13 @@ func (s *Pulls) resubmitPullHelper( SwapRecord: ex.Cid, Record: &lexutil.LexiconTypeDecoder{ Val: &tangled.RepoPull{ - Title: pull.Title, + Title: pull.Title, Target: &tangled.RepoPull_Target{ Repo: string(f.RepoAt()), Branch: pull.TargetBranch, }, - Patch: patch, // new patch - Source: recordPullSource, + Patch: patch, // new patch + Source: recordPullSource, }, }, })