Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 0502e86

Browse files
committed
clean the cat
1 parent f38951c commit 0502e86

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/api/cat.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ module.exports = (send) => {
1111
} catch (err) {
1212
return callback(err)
1313
}
14-
send('cat', multihash, null, null, function (err, result) {
15-
if (err) {
16-
return callback(err)
17-
}
18-
return callback(null, result)
19-
})
14+
send('cat', multihash, null, null, callback)
2015
})
2116
return cat
2217
}

0 commit comments

Comments
 (0)