mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
Implement /notes API routes
This adds all currently specified routes under /notes. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
4cd574306e
commit
82f03152a8
3 changed files with 97 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { HistoryModule } from '../../history/history.module';
|
||||
import { NotesModule } from '../../notes/notes.module';
|
||||
import { RevisionsModule } from '../../revisions/revisions.module';
|
||||
import { UsersModule } from '../../users/users.module';
|
||||
import { MeController } from './me/me.controller';
|
||||
import { NotesController } from './notes/notes.controller';
|
||||
|
@ -8,7 +9,7 @@ import { MediaController } from './media/media.controller';
|
|||
import { MonitoringController } from './monitoring/monitoring.controller';
|
||||
|
||||
@Module({
|
||||
imports: [UsersModule, HistoryModule, NotesModule],
|
||||
imports: [UsersModule, HistoryModule, NotesModule, RevisionsModule],
|
||||
controllers: [
|
||||
MeController,
|
||||
NotesController,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue