mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
refactor(media-service): delete unused method
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
c16d5bb79e
commit
2605e8894d
1 changed files with 0 additions and 7 deletions
|
@ -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,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue