mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00
fix: remove node-fetch
fetch is included in node directly Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
6dd0dbca07
commit
4b203b72bc
4 changed files with 1 additions and 17 deletions
|
@ -42,7 +42,6 @@
|
|||
"@types/bcrypt": "5.0.2",
|
||||
"@types/cron": "2.0.1",
|
||||
"@types/minio": "7.1.0",
|
||||
"@types/node-fetch": "2.6.11",
|
||||
"@types/passport-http-bearer": "1.0.41",
|
||||
"@zxcvbn-ts/core": "3.0.4",
|
||||
"@zxcvbn-ts/language-common": "3.0.4",
|
||||
|
@ -63,7 +62,6 @@
|
|||
"markdown-it": "13.0.2",
|
||||
"minio": "7.1.3",
|
||||
"mysql": "2.18.1",
|
||||
"node-fetch": "2.7.0",
|
||||
"passport": "0.7.0",
|
||||
"passport-custom": "1.1.1",
|
||||
"passport-http-bearer": "1.0.1",
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import fetch, { Response } from 'node-fetch';
|
||||
import { URLSearchParams } from 'url';
|
||||
|
||||
import mediaConfiguration, { MediaConfig } from '../../config/media.config';
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import fetch, { Response } from 'node-fetch';
|
||||
import { URL } from 'url';
|
||||
|
||||
import mediaConfiguration, { MediaConfig } from '../../config/media.config';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue