From 0300c85c15088e3ff2756b344a0adbd3ca235fd3 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:19:14 -0700 Subject: refactor: project maintenance - work in progress --- config/bodyparser.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/bodyparser.ts') diff --git a/config/bodyparser.ts b/config/bodyparser.ts index b5adcda..b3a027b 100644 --- a/config/bodyparser.ts +++ b/config/bodyparser.ts @@ -5,9 +5,10 @@ * file. */ -import { BodyParserConfig } from '@ioc:Adonis/Core/BodyParser'; +import { BodyParserConfig } from '@adonisjs/core/bodyparser' +import { defineConfig } from '@adonisjs/core/bodyparser' -const bodyParserConfig: BodyParserConfig = { +const bodyParserConfig = defineConfig({ /* |-------------------------------------------------------------------------- | White listed methods @@ -200,6 +201,6 @@ const bodyParserConfig: BodyParserConfig = { */ types: ['multipart/form-data'], }, -}; +}) -export default bodyParserConfig; +export default bodyParserConfig -- cgit v1.2.3-70-g09d2