Skip to content

Commit 9f8965c

Browse files
committed
fix: typo in error message
1 parent 3b02428 commit 9f8965c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ucan/container/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ func Decode(input []byte) (*Container, error) {
266266
case Base64url, Base64urlGzip:
267267
r, err := base64.RawURLEncoding.DecodeString(string(input[1:]))
268268
if err != nil {
269-
return nil, fmt.Errorf("decoding base64: %w", err)
269+
return nil, fmt.Errorf("decoding base64url: %w", err)
270270
}
271271
compressed = r
272272
default:

0 commit comments

Comments
 (0)