Skip to content

Commit

Permalink
Update json content info
Browse files Browse the repository at this point in the history
  • Loading branch information
llemeurfr committed Dec 28, 2024
1 parent 096f7c4 commit 9c1a81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ type Index interface {
// Content represents an encrypted resource
type Content struct {
ID string `json:"id"`
EncryptionKey []byte `json:"-"`
EncryptionKey []byte `json:"key,omitempty"` // warning, sensitive info
Location string `json:"location"`
Length int64 `json:"length"` //not exported in license spec?
Sha256 string `json:"sha256"` //not exported in license spec?
Length int64 `json:"length"`
Sha256 string `json:"sha256"`
Type string `json:"type"`
}

Expand Down

0 comments on commit 9c1a81c

Please sign in to comment.