mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -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
b174c0b0ab
commit
56817c3f91
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