fix callback

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

View File

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