aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/users')
-rw-r--r--shared/server-commands/users/users-command.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared/server-commands/users/users-command.ts b/shared/server-commands/users/users-command.ts
index b5ae9008e..d8303848d 100644
--- a/shared/server-commands/users/users-command.ts
+++ b/shared/server-commands/users/users-command.ts
@@ -1,5 +1,4 @@
1import { omit } from 'lodash' 1import { omit, pick } from '@shared/core-utils'
2import { pick } from '@shared/core-utils'
3import { 2import {
4 HttpStatusCode, 3 HttpStatusCode,
5 MyUser, 4 MyUser,
@@ -298,7 +297,7 @@ export class UsersCommand extends AbstractCommand {
298 updateMe (options: OverrideCommandOptions & UserUpdateMe) { 297 updateMe (options: OverrideCommandOptions & UserUpdateMe) {
299 const path = '/api/v1/users/me' 298 const path = '/api/v1/users/me'
300 299
301 const toSend: UserUpdateMe = omit(options, 'url', 'accessToken') 300 const toSend: UserUpdateMe = omit(options, [ 'expectedStatus', 'token' ])
302 301
303 return this.putBodyRequest({ 302 return this.putBodyRequest({
304 ...options, 303 ...options,