We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c561c8 commit ef21f83Copy full SHA for ef21f83
docs/content/docs/2.storage/3.blob.md
@@ -149,7 +149,7 @@ Delete a blob with its pathname.
149
export default eventHandler(async (event) => {
150
const { pathname } = getRouterParams(event)
151
152
- await hubBlob().delete(pathname)
+ await hubBlob().del(pathname)
153
154
return sendNoContent(event)
155
})
@@ -158,7 +158,7 @@ export default eventHandler(async (event) => {
158
You can also delete multiple blobs at once by providing an array of pathnames:
159
160
```ts
161
-await hubBlob().delete(['images/1.jpg', 'images/2.jpg'])
+await hubBlob().del(['images/1.jpg', 'images/2.jpg'])
162
```
163
164
::note
0 commit comments