Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexicons: pulls: remove repo, commentId and owner fields from pull comment records

Signed-off-by: nelind <nel.n.lindberg@gmail.com>

authored by

nelind and committed by
Tangled
93607be8 3f28ceec

-15
api/tangled/cbor_gen.go

This is a binary file and will not be displayed.

api/tangled/pullcomment.go

This is a binary file and will not be displayed.

-4
appview/pulls/pulls.go
··· 605 605 defer tx.Rollback() 606 606 607 607 createdAt := time.Now().Format(time.RFC3339) 608 - ownerDid := user.Did 609 608 610 609 pullAt, err := db.GetPullAt(s.db, f.RepoAt(), pull.PullId) 611 610 if err != nil { ··· 613 614 return 614 615 } 615 616 616 - atUri := f.RepoAt().String() 617 617 client, err := s.oauth.AuthorizedClient(r) 618 618 if err != nil { 619 619 log.Println("failed to get authorized client", err) ··· 625 627 Rkey: tid.TID(), 626 628 Record: &lexutil.LexiconTypeDecoder{ 627 629 Val: &tangled.RepoPullComment{ 628 - Repo: &atUri, 629 630 Pull: string(pullAt), 630 - Owner: &ownerDid, 631 631 Body: body, 632 632 CreatedAt: createdAt, 633 633 },
-11
lexicons/pulls/comment.json
··· 19 19 "type": "string", 20 20 "format": "at-uri" 21 21 }, 22 - "repo": { 23 - "type": "string", 24 - "format": "at-uri" 25 - }, 26 - "commentId": { 27 - "type": "integer" 28 - }, 29 - "owner": { 30 - "type": "string", 31 - "format": "did" 32 - }, 33 22 "body": { 34 23 "type": "string" 35 24 },