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

Commit 09c7bf7

Browse files
authoredOct 8, 2021
docs: fix dag.import return type (#3911)
1 parent bb0dd96 commit 09c7bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/core-api/DAG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ An optional object which may have the following keys:
218218

219219
| Type | Description |
220220
| -------- | -------- |
221-
| `AsyncIterable<{ cid: CID, pinErrorMsg?: string }>` | A stream containing the result of importing the car file(s) |
221+
| `AsyncIterable<{ root: { cid: CID, pinErrorMsg?: string } }>` | A stream containing all roots from the car file(s) that are pinned |
222222

223223
### Example
224224

0 commit comments

Comments
 (0)
This repository has been archived.