Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: update packages/ipfs-http-client/src/files/ls.js
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
  • Loading branch information
achingbrain and hugomrdias authored Jul 1, 2020
1 parent 320c5e4 commit 51d2b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/src/files/ls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 51d2b0b

Please sign in to comment.