hedgedoc/src
David Mehren 0711dbb6ff
MediaService: Simplify saveFile signature
As the `saveFile` method only really uses the files `Buffer`, this commit changes the signature so it directly gets a `Buffer` instead of a complicated `MulterFile` object. This also simplifies testing.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-10-24 11:49:01 +02:00
..
api MediaService: Simplify saveFile signature 2020-10-24 11:49:01 +02:00
authors Add AuthorsModule 2020-08-20 19:43:07 +02:00
errors MediaService: Implement delete feature 2020-10-17 21:54:08 +02:00
groups Initialize TypeORM for Group entity 2020-08-20 19:43:12 +02:00
history Switch to using the new custom logger 2020-09-27 21:48:42 +02:00
logger NestConsoleLoggerService: Propagate trace parameter to consoleLoggerService 2020-10-03 15:54:00 +02:00
media MediaService: Simplify saveFile signature 2020-10-24 11:49:01 +02:00
monitoring Source version from package.json 2020-10-09 22:40:45 +02:00
notes UsersService: Improve logging in getNoteByIdOrAlias 2020-10-24 11:34:16 +02:00
permissions Switch to using the new custom logger 2020-09-27 21:48:42 +02:00
revisions Switch to using the new custom logger 2020-09-27 21:48:42 +02:00
users UserEntity: Fix column types for create/update dates 2020-10-24 11:34:49 +02:00
app.module.ts Use useStaticAssets instead of @nestjs/serve-static 2020-10-24 11:32:23 +02:00
main.ts Use useStaticAssets instead of @nestjs/serve-static 2020-10-24 11:32:23 +02:00