diff options
author | 2023-10-31 01:32:44 -0600 | |
---|---|---|
committer | 2023-10-31 07:32:44 +0000 | |
commit | 79cdbe639cc45df6f7ae6116ba8ecf77fe869843 (patch) | |
tree | cfcf8f435353e14f5e3cd07a1c32327bedd32e15 /src/internal-server/app/Controllers/Http/UserController.js | |
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/internal-server/app/Controllers/Http/UserController.js')
-rw-r--r-- | src/internal-server/app/Controllers/Http/UserController.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/internal-server/app/Controllers/Http/UserController.js b/src/internal-server/app/Controllers/Http/UserController.js index d0c4d73b7..db733336c 100644 --- a/src/internal-server/app/Controllers/Http/UserController.js +++ b/src/internal-server/app/Controllers/Http/UserController.js | |||
@@ -5,7 +5,6 @@ const Workspace = use('App/Models/Workspace'); | |||
5 | const { validateAll } = use('Validator'); | 5 | const { validateAll } = use('Validator'); |
6 | 6 | ||
7 | const crypto = require('node:crypto'); | 7 | const crypto = require('node:crypto'); |
8 | const fetch = require('node-fetch'); | ||
9 | const { v4: uuid } = require('uuid'); | 8 | const { v4: uuid } = require('uuid'); |
10 | const { DEFAULT_APP_SETTINGS } = require('../../../../config'); | 9 | const { DEFAULT_APP_SETTINGS } = require('../../../../config'); |
11 | const { convertToJSON } = require('../../../../jsUtils'); | 10 | const { convertToJSON } = require('../../../../jsUtils'); |