Skip to content

Commit

Permalink
feat(blob): add PDP accept link
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahhoward committed Nov 10, 2024
1 parent 57dd97c commit 2a4b289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/blob/accept.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (ac AcceptCaveats) ToIPLD() (datamodel.Node, error) {

type AcceptOk struct {
Site ucan.Link
PDP *ucan.Link
}

func (ao AcceptOk) ToIPLD() (datamodel.Node, error) {
Expand Down
1 change: 1 addition & 0 deletions pkg/blob/blob.ipldsch
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ type AcceptCaveats struct {

type AcceptOk struct {
site Link
PDP optional Link
}

0 comments on commit 2a4b289

Please sign in to comment.