refactor(media-service): delete unused method

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-02-27 20:20:01 +01:00
parent c16d5bb79e
commit 2605e8894d

View file

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