From c3382c9dd6e28d2afb50dcf2ec71c486ec083cb9 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 53d53e61..39452da5 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')); }); } }