PrivateApi: Add config controller

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-03-01 21:16:34 +01:00 committed by David Mehren
parent 9747ea209c
commit 86f5498f51
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 80 additions and 2 deletions
src/api/private

View file

@ -9,12 +9,21 @@ import { TokensController } from './tokens/tokens.controller';
import { LoggerModule } from '../../logger/logger.module';
import { UsersModule } from '../../users/users.module';
import { AuthModule } from '../../auth/auth.module';
import { ConfigController } from './config/config.controller';
import { FrontendConfigModule } from '../../frontend-config/frontend-config.module';
import { HistoryController } from './me/history/history.controller';
import { HistoryModule } from '../../history/history.module';
import { NotesModule } from '../../notes/notes.module';
@Module({
imports: [LoggerModule, UsersModule, AuthModule, HistoryModule, NotesModule],
controllers: [TokensController, HistoryController],
imports: [
LoggerModule,
UsersModule,
AuthModule,
FrontendConfigModule,
HistoryModule,
NotesModule,
],
controllers: [TokensController, ConfigController, HistoryController],
})
export class PrivateApiModule {}