From 275a681b958545d8fe312b735e02ccedfc0ec0d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Gim=C3=A9nez?= Date: Mon, 24 Feb 2020 00:50:19 +0100 Subject: [PATCH] Fix wrong variable name in ipfs.add example --- SPEC/FILES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC/FILES.md b/SPEC/FILES.md index 2b699897..6de872a4 100644 --- a/SPEC/FILES.md +++ b/SPEC/FILES.md @@ -129,7 +129,7 @@ const files = [{ content: 'ABC' }] -for await (const result of ipfs.add(content)) { +for await (const result of ipfs.add(files)) { console.log(result) }