Skip to content

Commit c47394b

Browse files
committed
poc(biome): run biome check/fix on apps/server
1 parent d14d371 commit c47394b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/server/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import cors from 'cors';
22
import 'dotenv/config';
3-
import type { IncomingMessage } from 'http';
43
import { Schema } from 'effect';
54
import express from 'express';
65
import { SpaceEvent } from 'graph-framework-space-events';
@@ -16,7 +15,7 @@ app.use(express.json());
1615
app.use(cors());
1716

1817
app.get('/', (_req, res) => {
19-
res.send(`Server is running`);
18+
res.send('Server is running');
2019
});
2120

2221
const server = app.listen(PORT, () => {
@@ -25,7 +24,7 @@ const server = app.listen(PORT, () => {
2524

2625
const decodeEvent = Schema.decodeUnknownEither(SpaceEvent);
2726

28-
webSocketServer.on('connection', async (webSocket: WebSocket, request: IncomingMessage) => {
27+
webSocketServer.on('connection', async (webSocket: WebSocket) => {
2928
console.log('Connection established');
3029
webSocket.on('message', async (message) => {
3130
const rawData = JSON.parse(message.toString());

0 commit comments

Comments
 (0)