remove unnnecessary const
This commit is contained in:
parent
88ca63abdc
commit
922c5930d6
|
@ -328,7 +328,7 @@ export class FileServerService {
|
||||||
> {
|
> {
|
||||||
const [path, cleanup] = await createTemp();
|
const [path, cleanup] = await createTemp();
|
||||||
try {
|
try {
|
||||||
const response = await this.downloadService.downloadUrl(url, path);
|
await this.downloadService.downloadUrl(url, path);
|
||||||
|
|
||||||
const { mime, ext } = await this.fileInfoService.detectType(path);
|
const { mime, ext } = await this.fileInfoService.detectType(path);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue