summaryrefslogtreecommitdiff
path: root/server/controllers/chat_room.controller.ts
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-01 16:31:24 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-01 16:31:24 -0600
commit638b3e0750c61aded2d08dfad7680bfcff8abf9f (patch)
tree7076b5e03ed744fa9fdb023a7aa4a2a55c36bf47 /server/controllers/chat_room.controller.ts
parentdbb9eea25f80e7984a112409863be5191af5bf5e (diff)
downloadlocchat-638b3e0750c61aded2d08dfad7680bfcff8abf9f.tar.gz
locchat-638b3e0750c61aded2d08dfad7680bfcff8abf9f.zip
Fix some bugs
Diffstat (limited to 'server/controllers/chat_room.controller.ts')
-rw-r--r--server/controllers/chat_room.controller.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/controllers/chat_room.controller.ts b/server/controllers/chat_room.controller.ts
index 9b75c1f..f63549f 100644
--- a/server/controllers/chat_room.controller.ts
+++ b/server/controllers/chat_room.controller.ts
@@ -19,11 +19,7 @@ const haversine = (p1, p2) => {
};
@Controller()
export class ChatRoomController {
- constructor(private chatRoomService: ChatRoomService, private usersService: UsersService) {
- setInterval(() => {
- console.log('Hello');
- }, 60 * 1000);
- }
+ constructor(private chatRoomService: ChatRoomService, private usersService: UsersService) {}
@Get('/chat_rooms')
async get(@JwtBody() jwtBody: JwtBodyDto, @Query() query: any) {