Skip to content

Commit

Permalink
fix: Wrong getHeader method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
josesilveiraa07 committed Dec 20, 2023
1 parent cfd0ab6 commit 5c78423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ export class FastifyAdapter<
return response.sent;
}

public getHeader?(response: any, name: string, value: string) {
return response.getHeader(name, value);
public getHeader?(response: any, name: string) {
return response.getHeader(name);
}

public setHeader(response: TReply, name: string, value: string) {
Expand Down

0 comments on commit 5c78423

Please sign in to comment.