From 72fdb21bc578e0c868dc039f3d3d2dfd083c0939 Mon Sep 17 00:00:00 2001 From: Mararok Date: Tue, 5 Dec 2023 23:05:31 +0100 Subject: [PATCH] fix: http adapter --- src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts b/src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts index 75ff4a3..f9b427a 100644 --- a/src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts +++ b/src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts @@ -58,7 +58,7 @@ export interface FAdapterFactoryOptions { export class FastifyAdapterFactory { public static async create(options: FAdapterFactoryOptions): Promise { options.adapter.pluginTimeout = options.adapter.pluginTimeout ?? 20000; - const a = new FastifyAdapter(options.adapter); + const a = new FastifyAdapter(options.adapter as any); const errorHandler = this.createErrorHandler(options.errorCatcher); a.setErrorHandler(errorHandler);