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

files.add incorrectly calls importer function #150

Closed
@vijayee

Description

@vijayee

The call is erroneous:
https://github.com/ipfs/js-ipfs/blob/master/src/core/index.js#L337-L341
when compared to:
https://github.com/ipfs/js-ipfs-data-importing/blob/master/src/index.js#L18
it should be:

this.files = {
    add: (path, options, callback) => {
      importer(path, dagS, options, callback)
    }
  }

will pr later to fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions