mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-28 14:43:57 +00: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
283ec673cf
commit
59a4c72299
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