From 59a4c72299566a859d61730b42f6019b3465bc6b Mon Sep 17 00:00:00 2001 From: David Mehren Date: Mon, 31 May 2021 18:15:10 +0200 Subject: [PATCH] UsersModule: Add Session to TypeORM module This seems to have been missed in db026d6a5795b86736470679cc48bad06e1ece1a, where the Session entity was added. Signed-off-by: David Mehren --- src/users/users.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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], })