aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/users.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-06 16:35:40 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-06 17:28:20 +0200
commit77a5501f6413aff2f2a626b929dfda486fa9a3e6 (patch)
tree9f286d1b5a3bede13ea746530c8210c49a064b39 /server/tests/utils/users.ts
parent5c98d3bf078852043cbdd582c01e3dc4f4b5b79f (diff)
downloadPeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.tar.gz
PeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.tar.zst
PeerTube-77a5501f6413aff2f2a626b929dfda486fa9a3e6.zip
Fix tests and user quota
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)