hedgedoc/src/media
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
..
backends FilesystemBackend: ESLint fixes 2020-10-17 21:53:34 +02:00
media-backend.interface.ts
media-upload.entity.ts
media.module.ts
media.service.spec.ts Add various missing imports and provider ovverides in unit tests 2020-10-17 20:24:07 +02:00
media.service.ts MediaService: Simplify saveFile signature 2020-10-24 11:49:01 +02:00
multer-file.interface.ts