update
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { SocketGateway } from "./socket.gateway";
|
||||
import { SocketService } from "./socket.service";
|
||||
import { SequelizeModule } from "@nestjs/sequelize";
|
||||
import { SocketModel } from "./socket.model";
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { SocketConnection } from './socket.entity';
|
||||
import { SocketGateway } from './socket.gateway';
|
||||
import { SocketService } from './socket.service';
|
||||
|
||||
@Module({
|
||||
imports: [SequelizeModule.forFeature([SocketModel])],
|
||||
imports: [TypeOrmModule.forFeature([SocketConnection])],
|
||||
providers: [SocketGateway, SocketService],
|
||||
exports: [SocketGateway],
|
||||
})
|
||||
export class SocketModule {
|
||||
}
|
||||
export class SocketModule {}
|
||||
|
||||
Reference in New Issue
Block a user