From ac349f5819832374655ce00bf63d7bbb1314c6de Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 8 Jul 2018 23:41:09 +0300 Subject: [PATCH] fix callback --- lib/modules/ipfs/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/ipfs/upload.js b/lib/modules/ipfs/upload.js index 53d53e61f..39452da50 100644 --- a/lib/modules/ipfs/upload.js +++ b/lib/modules/ipfs/upload.js @@ -53,7 +53,7 @@ class IPFS { console.log(err); cb(err); } - else cb(__('successfully uploaded to ipfs')); + else cb(null, __('successfully uploaded to ipfs')); }); } }