From 2605e8894da784ab41667d08f563ef0ce1e12321 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 27 Feb 2022 20:20:01 +0100 Subject: [PATCH] refactor(media-service): delete unused method Signed-off-by: David Mehren --- src/media/media.service.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/media/media.service.ts b/src/media/media.service.ts index b01339bf3..8ea416f42 100644 --- a/src/media/media.service.ts +++ b/src/media/media.service.ts @@ -24,7 +24,6 @@ import { ImgurBackend } from './backends/imgur-backend'; import { S3Backend } from './backends/s3-backend'; import { WebdavBackend } from './backends/webdav-backend'; import { MediaBackend } from './media-backend.interface'; -import { MediaUploadUrlDto } from './media-upload-url.dto'; import { MediaUploadDto } from './media-upload.dto'; import { MediaUpload } from './media-upload.entity'; @@ -230,10 +229,4 @@ export class MediaService { username: (await mediaUpload.user).username, }; } - - toMediaUploadUrlDto(url: string): MediaUploadUrlDto { - return { - link: url, - }; - } }