aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/users/users-command.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/users/users-command.ts')
-rw-r--r--shared/extra-utils/users/users-command.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/users/users-command.ts b/shared/extra-utils/users/users-command.ts
index 202528b8d..59dc6d018 100644
--- a/shared/extra-utils/users/users-command.ts
+++ b/shared/extra-utils/users/users-command.ts
@@ -194,7 +194,7 @@ export class UsersCommand extends AbstractCommand {
194 const password = 'password' 194 const password = 'password'
195 const user = await this.create({ username, password }) 195 const user = await this.create({ username, password })
196 196
197 const token = await this.server.loginCommand.getAccessToken({ username, password }) 197 const token = await this.server.login.getAccessToken({ username, password })
198 198
199 const me = await this.getMyInfo({ token }) 199 const me = await this.getMyInfo({ token })
200 200
@@ -209,7 +209,7 @@ export class UsersCommand extends AbstractCommand {
209 const password = 'password' 209 const password = 'password'
210 await this.create({ username, password }) 210 await this.create({ username, password })
211 211
212 return this.server.loginCommand.getAccessToken({ username, password }) 212 return this.server.login.getAccessToken({ username, password })
213 } 213 }
214 214
215 register (options: OverrideCommandOptions & { 215 register (options: OverrideCommandOptions & {