mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
NoteController: Do not use text/markdown as response content-type for createNote
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
99f44f2551
commit
2c3a75187e
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue