Skip to content

Commit

Permalink
add comment in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Apr 18, 2024
1 parent ad8cb5f commit 12332d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/node/file-upload.js
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ async function run() {

const fileResult = await fileManager.uploadFile("./utils/cat.jpg", {
mimeType: "image/jpeg",
// It will also add the necessary "files/" prefix if not provided
name: "files/catname",
displayName: "mrcat",
});

0 comments on commit 12332d2

Please sign in to comment.