From 51d2b0bfd7f9a52fdee47fc3c8e15425002be658 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Wed, 1 Jul 2020 19:29:31 +0100 Subject: [PATCH] chore: update packages/ipfs-http-client/src/files/ls.js Co-authored-by: Hugo Dias --- packages/ipfs-http-client/src/files/ls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ipfs-http-client/src/files/ls.js b/packages/ipfs-http-client/src/files/ls.js index a7e915febc..2420955e74 100644 --- a/packages/ipfs-http-client/src/files/ls.js +++ b/packages/ipfs-http-client/src/files/ls.js @@ -8,7 +8,7 @@ const toUrlSearchParams = require('../lib/to-url-search-params') module.exports = configure(api => { return async function * ls (path, options = {}) { if (!path || typeof path !== 'string') { - throw new Error('ipfs.files.flush requires a path') + throw new Error('ipfs.files.ls requires a path') } const res = await api.post('files/ls', {