From 0bd894b810551fa63709f5dfa9ae2436a823585a Mon Sep 17 00:00:00 2001 From: Baroshem Date: Wed, 10 Apr 2024 14:04:05 +0200 Subject: [PATCH] fix: missing import readMultipartFormData --- src/runtime/server/middleware/xssValidator.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/server/middleware/xssValidator.ts b/src/runtime/server/middleware/xssValidator.ts index 85e9e252..ffbbb4ba 100644 --- a/src/runtime/server/middleware/xssValidator.ts +++ b/src/runtime/server/middleware/xssValidator.ts @@ -4,7 +4,8 @@ import { createError, getQuery, readBody, - getRouteRules + getRouteRules, + readMultipartFormData } from '#imports' import { HTTPMethod } from '~/src/module'