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:
David Mehren 2020-07-26 21:00:18 +02:00
parent 4cd574306e
commit 82f03152a8
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 97 additions and 4 deletions

View file

@ -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,