From 2c3a75187e8567c778f14efbab120a44a206da25 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 19 Sep 2020 15:50:58 +0200 Subject: [PATCH] NoteController: Do not use text/markdown as response content-type for createNote Signed-off-by: David Mehren --- src/api/public/notes/notes.controller.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/public/notes/notes.controller.ts b/src/api/public/notes/notes.controller.ts index 33d23bfd3..8405b1007 100644 --- a/src/api/public/notes/notes.controller.ts +++ b/src/api/public/notes/notes.controller.ts @@ -32,7 +32,6 @@ export class NotesController { * Implementation inspired by https://stackoverflow.com/questions/52283713/how-do-i-pass-plain-text-as-my-request-body-using-nestjs */ @Post() - @Header('content-type', 'text/markdown') async createNote(@Req() req: Request) { // we have to check req.readable because of raw-body issue #57 // https://github.com/stream-utils/raw-body/issues/57