Skip to content

Commit

Permalink
wrap SET
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway committed Nov 2, 2024
1 parent 1be87c2 commit 8f41e93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/tle/tle.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"io"

"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
rekor_pb_common "github.com/sigstore/protobuf-specs/gen/pb-go/common/v1"
rekor_pb "github.com/sigstore/protobuf-specs/gen/pb-go/rekor/v1"
Expand Down Expand Up @@ -137,7 +138,7 @@ func GenerateLogEntry(tle *rekor_pb.TransparencyLogEntry) models.LogEntry {
RootHash: swag.String(hex.EncodeToString(tle.InclusionProof.RootHash)),
TreeSize: swag.Int64(tle.InclusionProof.TreeSize),
},
SignedEntryTimestamp: tle.InclusionPromise.SignedEntryTimestamp,
SignedEntryTimestamp: strfmt.Base64(tle.InclusionPromise.SignedEntryTimestamp),
},
},
}
Expand Down

0 comments on commit 8f41e93

Please sign in to comment.