Skip to content

Commit 1c52859

Browse files
author
shawon-majid
committed
bug fix
1 parent cacfb68 commit 1c52859

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

server/src/controllers/tracking.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,18 @@ const track = (io: Server) => {
1818
} else if (connectionType == "landfill") {
1919
handleLandfill(socket);
2020
} else if (connectionType == "citizen") {
21-
handleCitizen(socket);
21+
// handleCitizen(socket);
2222
}
2323
});
2424
};
2525

26+
// const handleCitizen = (socket: Socket) => {
2627

27-
const handleCitizen = (socket: Socket) => {
28+
// socket.on("join_rooms", async (data) => {
29+
// socket.join("notification");
30+
// }
2831

29-
socket.on("join_rooms", async (data) => {
30-
socket.join("notification");
31-
}
32-
33-
34-
}
32+
// }
3533

3634
const handleSts = (socket: Socket) => {
3735
const id = socket.handshake.query.id;

0 commit comments

Comments
 (0)