diff --git a/src/pin/ls.js b/src/pin/ls.js index 91db49f15..6348dfe89 100644 --- a/src/pin/ls.js +++ b/src/pin/ls.js @@ -12,14 +12,12 @@ module.exports = (send) => { } if (typeof opts === 'function') { callback = opts + opts = null } if (hash && hash.type) { opts = hash hash = null - } else { - opts = null } - send({ path: 'pin/ls', args: hash,