diff --git a/src/runtime/server/storage.ts b/src/runtime/server/storage.ts index 021599629..6cf4ee9b6 100644 --- a/src/runtime/server/storage.ts +++ b/src/runtime/server/storage.ts @@ -1,4 +1,4 @@ -import { prefixStorage } from 'unstorage' +import { StorageMeta, prefixStorage } from 'unstorage' import { joinURL, withLeadingSlash, withoutTrailingSlash } from 'ufo' import { hash as ohash } from 'ohash' import type { H3Event } from 'h3' @@ -152,7 +152,7 @@ export const getContent = async (event: H3Event, id: string): Promise {}) @@ -162,7 +162,7 @@ export const getContent = async (event: H3Event, id: string): Promise { const { id, content, options } = await readBody(event) // @ts-ignore - const parsedContent = await parseContent(id, content, options) + const parsedContent = await parseContent(id, content, {}, options) return parsedContent })