From 7b0e013280680ecd3ec59748bea836f1077f2db1 Mon Sep 17 00:00:00 2001 From: Ryan Bell <25379378+iRyanBell@users.noreply.github.com> Date: Mon, 19 Oct 2020 21:22:04 -0700 Subject: [PATCH] Update Code.js Example should use camelCase in Node. --- packages/webapp/src/components/CodeExamples/Code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/src/components/CodeExamples/Code.js b/packages/webapp/src/components/CodeExamples/Code.js index 72fd8e44..32b3961e 100644 --- a/packages/webapp/src/components/CodeExamples/Code.js +++ b/packages/webapp/src/components/CodeExamples/Code.js @@ -45,11 +45,11 @@ const client = new SkynetClient(); (async () => { // upload - const skylink = await client.UploadFile("./src.jpg"); + const skylink = await client.uploadFile("./src.jpg"); console.log(\`Upload successful, skylink: \${skylink}\`); // download - await client.DownloadFile("./dst.jpg", skylink); + await client.downloadFile("./dst.jpg", skylink); console.log('Download successful'); })()`;