fix callback
This commit is contained in:
parent
1efdc00471
commit
c3382c9dd6
|
@ -53,7 +53,7 @@ class IPFS {
|
|||
console.log(err);
|
||||
cb(err);
|
||||
}
|
||||
else cb(__('successfully uploaded to ipfs'));
|
||||
else cb(null, __('successfully uploaded to ipfs'));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue