Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Commit da6d12f

Browse files
author
Alan Shaw
authored
fix: property name
1 parent c319792 commit da6d12f

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
@@ -64,7 +64,7 @@ function getFile(ipfs, rootHash, filename, callback) {
6464
var hash = null
6565
var fileSize, fileName
6666

67-
res.links.forEach(function(link) {
67+
res.Links.forEach(function(link) {
6868
if (link.Name === filename) {
6969
hash = link.Hash
7070
fileSize = link.Tsize

0 commit comments

Comments
 (0)