Skip to content

Commit 1f835e0

Browse files
Whitespace tweaks
1 parent ecf50e4 commit 1f835e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/sse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class SSEServerTransport implements Transport {
9494
}
9595

9696
try {
97-
await this.handleMessage(typeof body === 'string'? JSON.parse(body): body);
97+
await this.handleMessage(typeof body === 'string' ? JSON.parse(body) : body);
9898
} catch {
9999
res.writeHead(400).end(`Invalid message: ${body}`);
100100
return;

0 commit comments

Comments
 (0)