Skip to content

Commit 91931f4

Browse files
committed
fix: regression of regression
1 parent c964ad4 commit 91931f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Data (type, data) {
6666
}
6767

6868
return unixfsData.encode({
69-
Type: type.value,
69+
Type: type,
7070
Data: this.data,
7171
filesize: fileSize,
7272
blocksizes: this.blockSizes.length > 0 ? this.blockSizes : undefined

0 commit comments

Comments
 (0)