Skip to content

Commit

Permalink
fix(blob): add last missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jun 5, 2024
1 parent 3246217 commit 8cb7866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/server/api/_hub/blob/delete-folder.post.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { eventHandler, readValidatedBody } from 'h3'
import { eventHandler, readValidatedBody, sendNoContent } from 'h3'
import { z } from 'zod'
import { hubBlob } from '../../../utils/blob'
import { requireNuxtHubAuthorization } from '../../../utils/auth'
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/utils/blob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { R2Bucket, ReadableStream, R2MultipartUpload } from '@cloudflare/wo
import { ofetch } from 'ofetch'
import mime from 'mime'
import type { H3Event } from 'h3'
import { setHeader, createError, readFormData, getValidatedQuery, getValidatedRouterParams, readValidatedBody } from 'h3'
import { setHeader, createError, readFormData, getValidatedQuery, getValidatedRouterParams, readValidatedBody, sendNoContent } from 'h3'
import { defu } from 'defu'
import { randomUUID } from 'uncrypto'
import { parse } from 'pathe'
Expand Down

0 comments on commit 8cb7866

Please sign in to comment.