Skip to content

Commit 5e127fc

Browse files
Update packages/platform-express/adapters/express-adapter.ts
Co-authored-by: Micael Levi L. Cavalcante <mllc@icomp.ufam.edu.br>
1 parent a03db87 commit 5e127fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/platform-express/adapters/express-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class ExpressAdapter extends AbstractHttpAdapter {
6161
}
6262

6363
public end(response: any, message?: string) {
64-
return response.end(message !== undefined ? String(message) : undefined);
64+
return response.end(message);
6565
}
6666

6767
public render(response: any, view: string, options: any) {

0 commit comments

Comments
 (0)