UsersModule: Add Session to TypeORM module

This seems to have been missed in
db026d6a57, where the Session entity
was added.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-05-31 18:15:10 +02:00
parent 81cc092e51
commit b850d03b5f
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

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