Explicitly import URL

With Yarn PnP, URL is seems to not automatically be
part of the global scope.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-09-06 16:32:24 +02:00
parent 241164261e
commit 1f2067288a
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,7 @@
*/
import { Inject, Injectable } from '@nestjs/common';
import fetch, { Response } from 'node-fetch';
import { URL } from 'url';
import mediaConfiguration, { MediaConfig } from '../../config/media.config';
import { MediaBackendError } from '../../errors/errors';