Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 committed Nov 29, 2023
1 parent 9429915 commit 2ccceaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,9 @@ const routes = async (fastifyInstance: FastifyInstance) => {
const connection = currentConnections[workerId];
const isAllocated = !unallocatedConnections.includes(workerId);

const deviceId = connection.mitm?.deviceId ?? Object.keys(controlConnections).find((deviceId) => workerId.startsWith(deviceId));
const deviceId =
connection.mitm?.deviceId ??
Object.keys(controlConnections).find((deviceId) => workerId.startsWith(deviceId));

return {
deviceId,
Expand Down

0 comments on commit 2ccceaa

Please sign in to comment.