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, - }; - } }