Skip to content

Commit ef21f83

Browse files
committed
docs: use del instead of delete
1 parent 8c561c8 commit ef21f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/docs/2.storage/3.blob.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Delete a blob with its pathname.
149149
export default eventHandler(async (event) => {
150150
const { pathname } = getRouterParams(event)
151151

152-
await hubBlob().delete(pathname)
152+
await hubBlob().del(pathname)
153153

154154
return sendNoContent(event)
155155
})
@@ -158,7 +158,7 @@ export default eventHandler(async (event) => {
158158
You can also delete multiple blobs at once by providing an array of pathnames:
159159

160160
```ts
161-
await hubBlob().delete(['images/1.jpg', 'images/2.jpg'])
161+
await hubBlob().del(['images/1.jpg', 'images/2.jpg'])
162162
```
163163

164164
::note

0 commit comments

Comments
 (0)