diff --git a/src/runtime/transformers/index.ts b/src/runtime/transformers/index.ts index 0b14564dd..bb153569e 100644 --- a/src/runtime/transformers/index.ts +++ b/src/runtime/transformers/index.ts @@ -37,7 +37,7 @@ function getTransformers (ext: string, additionalTransformers: ContentTransforme /** * Parse content file using registered plugins */ -export async function transformContent (id: string, content: string, meta: StorageMeta, options: TransformContentOptions = {}) { +export async function transformContent (id: string, content: string, meta: StorageMeta = {}, options: TransformContentOptions = {}) { const { transformers = [] } = options // Call hook before parsing the file const file = { _id: id, body: content }