-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
💭 Description
API Node.js SDK documentation to 'Create File'. The code snippet has an unused import: "const fs = require('fs');"
and "const promise = storage.createFile('[BUCKET_ID]', '[FILE_ID]', InputFile.fromPath('/path/to/file.png', 'file.png'));" is incorrect, it should be sdk.InputFile
Steven asked me to create the issue after raising it in Discord support.
Link to docs: https://appwrite.io/docs/server/storage
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation