diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-10-31 01:32:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 07:32:44 +0000 |
commit | 79cdbe639cc45df6f7ae6116ba8ecf77fe869843 (patch) | |
tree | cfcf8f435353e14f5e3cd07a1c32327bedd32e15 /src/helpers/translation-helpers.ts | |
parent | 6.6.1-nightly.1 [skip ci] (diff) | |
download | ferdium-app-79cdbe639cc45df6f7ae6116ba8ecf77fe869843.tar.gz ferdium-app-79cdbe639cc45df6f7ae6116ba8ecf77fe869843.tar.zst ferdium-app-79cdbe639cc45df6f7ae6116ba8ecf77fe869843.zip |
refactor: uninstall node-fetch which is built-in since node 18 (#1431)
* Update submodules [skip ci]
* Update submodules [skip ci]
* refactor: uninstall node-fetch which is built-in since node 18
- uninstall node-fetch from package.json
- remove fetch import from translation-helpers.ts
- remove fetch import from RecipeController and UserController
* remove leftover console.log
---------
Co-authored-by: github-actions <github-actions@github.com>
Diffstat (limited to 'src/helpers/translation-helpers.ts')
-rw-r--r-- | src/helpers/translation-helpers.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/helpers/translation-helpers.ts b/src/helpers/translation-helpers.ts index 0edd95412..2e8f6b260 100644 --- a/src/helpers/translation-helpers.ts +++ b/src/helpers/translation-helpers.ts | |||
@@ -1,4 +1,3 @@ | |||
1 | import fetch from 'node-fetch'; | ||
2 | import translateGoogle from 'google-translate-api-x'; | 1 | import translateGoogle from 'google-translate-api-x'; |
3 | import { LIVE_API_FERDIUM_LIBRETRANSLATE } from '../config'; | 2 | import { LIVE_API_FERDIUM_LIBRETRANSLATE } from '../config'; |
4 | 3 | ||