Skip to content

Commit 5e053b2

Browse files
committed
update README
1 parent 3810094 commit 5e053b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const objects = await blob.objects.list()
4848

4949
```ts
5050
const blobObject = await blob.objects.put({
51-
file: "path/to/file.png", // Absolute path to your file or Buffer
51+
file: "path/to/file.png", // Absolute path to your file
5252
name: "my_image", // File name without extension
5353
})
5454

@@ -59,6 +59,7 @@ console.log(blobObject.url)
5959

6060
```ts
6161
import { MimeTypes } from "@squarecloud/blob"
62+
// CommonJS => const { MimeTypes } = require("@squarecloud/blob")
6263

6364
const blobObject = await blob.objects.put({
6465
file: Buffer.from("content"),

0 commit comments

Comments
 (0)