diff --git a/src/users/users.module.ts b/src/users/users.module.ts index fe68b2398..b41bee642 100644 --- a/src/users/users.module.ts +++ b/src/users/users.module.ts @@ -8,11 +8,12 @@ import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { LoggerModule } from '../logger/logger.module'; import { Identity } from './identity.entity'; +import { Session } from './session.entity'; import { User } from './user.entity'; import { UsersService } from './users.service'; @Module({ - imports: [TypeOrmModule.forFeature([User, Identity]), LoggerModule], + imports: [TypeOrmModule.forFeature([User, Identity, Session]), LoggerModule], providers: [UsersService], exports: [UsersService], })