mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
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:
parent
81cc092e51
commit
b850d03b5f
1 changed files with 2 additions and 1 deletions
|
@ -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],
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue