Skip to content

Commit

Permalink
fix: add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Apr 17, 2024
1 parent e52a036 commit ada8e5b
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/cache/[...key].delete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { eventHandler, getRouterParam, createError } from 'h3'
import { eventHandler, getRouterParam, createError, sendNoContent } from 'h3'
import { requireNuxtHubAuthorization } from '../../../utils/auth'
import { requireNuxtHubFeature } from '../../../utils/features'
// @ts-expect-error useStorage not yet typed
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/server/api/_hub/cache/batch-delete.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 { requireNuxtHubAuthorization } from '../../../utils/auth'
import { requireNuxtHubFeature } from '../../../utils/features'
Expand Down

0 comments on commit ada8e5b

Please sign in to comment.