Skip to content

Commit

Permalink
Merge pull request #16 from hexancore/fix-lints
Browse files Browse the repository at this point in the history
fix: http adapter
  • Loading branch information
Mararok authored Dec 5, 2023
2 parents a64ce99 + 72fdb21 commit 3c517d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Infrastructure/Http/Bootstrap/FastifyAdapterFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface FAdapterFactoryOptions {
export class FastifyAdapterFactory {
public static async create(options: FAdapterFactoryOptions): Promise<FastifyAdapter> {
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);
Expand Down

0 comments on commit 3c517d2

Please sign in to comment.