summaryrefslogtreecommitdiff
path: root/server/modules/chat_room.module.ts
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-03-30 15:18:16 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-03-30 15:18:16 -0600
commitacff469ba069b6f090adfd5ed91379c9f146aa77 (patch)
treee600e951d2e88ffde9252214fe31b8042ca129aa /server/modules/chat_room.module.ts
parent042e3b9862b253fb3c3e59ee628dd9e30edf7e35 (diff)
downloadlocchat-acff469ba069b6f090adfd5ed91379c9f146aa77.tar.gz
locchat-acff469ba069b6f090adfd5ed91379c9f146aa77.zip
Ability to add, remove, update radius and location of chatrooms with a leaflet
Diffstat (limited to 'server/modules/chat_room.module.ts')
-rw-r--r--server/modules/chat_room.module.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/modules/chat_room.module.ts b/server/modules/chat_room.module.ts
index 07b2553..7acc672 100644
--- a/server/modules/chat_room.module.ts
+++ b/server/modules/chat_room.module.ts
@@ -3,11 +3,13 @@ import { TypeOrmModule } from '@nestjs/typeorm';
import { ChatRoomController } from 'server/controllers/chat_room.controller';
import { ChatRoom } from 'server/entities/chat_room.entity';
import { ChatRoomService } from 'server/providers/services/chat_room.service';
+import { UsersService } from 'server/providers/services/users.service';
+import { UsersModule } from './users.module';
@Module({
- imports: [TypeOrmModule.forFeature([ChatRoom])],
+ imports: [TypeOrmModule.forFeature([ChatRoom]), UsersModule],
controllers: [ChatRoomController],
- providers: [ChatRoomService],
+ providers: [ChatRoomService, UsersService],
exports: [TypeOrmModule],
})
-export class UsersModule {}
+export class ChatRoomModule {}