Skip to content

Commit

Permalink
Update packages/platform-fastify/adapters/fastify-adapter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
  • Loading branch information
kamilmysliwiec and micalevisk committed May 23, 2022
1 parent 5e127fc commit 3f8a6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class FastifyAdapter<
}

public end(response: TReply, message?: string) {
response.raw.end(message !== undefined ? String(message) : undefined);
response.raw.end(message);
}

public render(
Expand Down

0 comments on commit 3f8a6c9

Please sign in to comment.