aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/users.ts')
-rw-r--r--server/tests/utils/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/users.ts b/server/tests/utils/users.ts
index 1c3f6826e..e5f3eb1b3 100644
--- a/server/tests/utils/users.ts
+++ b/server/tests/utils/users.ts
@@ -118,7 +118,7 @@ function updateUser (url: string, userId: number, accessToken: string, email: st
118 const path = '/api/v1/users/' + userId 118 const path = '/api/v1/users/' + userId
119 119
120 const toSend = {} 120 const toSend = {}
121 if (email !== undefined && email !== null) toSend['password'] = email 121 if (email !== undefined && email !== null) toSend['email'] = email
122 if (videoQuota !== undefined && videoQuota !== null) toSend['videoQuota'] = videoQuota 122 if (videoQuota !== undefined && videoQuota !== null) toSend['videoQuota'] = videoQuota
123 123
124 return request(url) 124 return request(url)