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'); })()`;