fix callback

This commit is contained in:
Iuri Matias 2018-07-08 23:41:09 +03:00
parent 1efdc00471
commit c3382c9dd6
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class IPFS {
console.log(err); console.log(err);
cb(err); cb(err);
} }
else cb(__('successfully uploaded to ipfs')); else cb(null, __('successfully uploaded to ipfs'));
}); });
} }
} }