diff options
Diffstat (limited to 'src/internal-server/app/Controllers/Http/UserController.js')
-rw-r--r-- | src/internal-server/app/Controllers/Http/UserController.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/internal-server/app/Controllers/Http/UserController.js b/src/internal-server/app/Controllers/Http/UserController.js index 43d925119..943d7705e 100644 --- a/src/internal-server/app/Controllers/Http/UserController.js +++ b/src/internal-server/app/Controllers/Http/UserController.js | |||
@@ -6,7 +6,7 @@ const { validateAll } = use('Validator'); | |||
6 | 6 | ||
7 | const fetch = require('node-fetch'); | 7 | const fetch = require('node-fetch'); |
8 | const { v4: uuid } = require('uuid'); | 8 | const { v4: uuid } = require('uuid'); |
9 | const crypto = require('crypto'); | 9 | const crypto = require('node:crypto'); |
10 | const { DEFAULT_APP_SETTINGS } = require('../../../../config'); | 10 | const { DEFAULT_APP_SETTINGS } = require('../../../../config'); |
11 | const { convertToJSON } = require('../../../../jsUtils'); | 11 | const { convertToJSON } = require('../../../../jsUtils'); |
12 | const { API_VERSION } = require('../../../../environment-remote'); | 12 | const { API_VERSION } = require('../../../../environment-remote'); |
@@ -224,11 +224,7 @@ class UserController { | |||
224 | } | 224 | } |
225 | 225 | ||
226 | // Account import/export | 226 | // Account import/export |
227 | async export({ | 227 | async export({ _auth, response }) { |
228 | // eslint-disable-next-line no-unused-vars | ||
229 | auth, | ||
230 | response, | ||
231 | }) { | ||
232 | const allServices = await Service.all(); | 228 | const allServices = await Service.all(); |
233 | const services = allServices.toJSON(); | 229 | const services = allServices.toJSON(); |
234 | const allWorkspaces = await Workspace.all(); | 230 | const allWorkspaces = await Workspace.all(); |