diff --git a/package-lock.json b/package-lock.json index 4df6883..ff69bd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/http", - "version": "5.53.0", + "version": "5.54.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@athenna/http", - "version": "5.53.0", + "version": "5.54.0", "license": "MIT", "devDependencies": { "@athenna/artisan": "^5.11.0", diff --git a/package.json b/package.json index 166fd1b..ec44440 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/http", - "version": "5.53.0", + "version": "5.54.0", "description": "The Athenna Http server. Built on top of fastify.", "license": "MIT", "author": "João Lenon ", diff --git a/src/providers/HttpServerProvider.ts b/src/providers/HttpServerProvider.ts index 9edf91e..d374a31 100644 --- a/src/providers/HttpServerProvider.ts +++ b/src/providers/HttpServerProvider.ts @@ -7,20 +7,13 @@ * file that was distributed with this source code. */ -import { Options } from '@athenna/common' import { ServiceProvider } from '@athenna/ioc' import { ServerImpl } from '#src/server/ServerImpl' import type { FastifyServerOptions } from 'fastify' export class HttpServerProvider extends ServiceProvider { public register() { - const fastifyOptions = Options.create(Config.get('http.fastify'), { - ajv: { - customOptions: { - coerceTypes: false - } - } - }) + const fastifyOptions = Config.get('http.fastify') this.container.instance('Athenna/Core/HttpServer', new ServerImpl(fastifyOptions)) }