aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/account/user.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/models/account/user.ts b/server/models/account/user.ts
index 178012eae..a88ec244f 100644
--- a/server/models/account/user.ts
+++ b/server/models/account/user.ts
@@ -193,9 +193,6 @@ export class UserModel extends Model<UserModel> {
193 193
194 return UserModel.findAndCountAll(query) 194 return UserModel.findAndCountAll(query)
195 .then(({ rows, count }) => { 195 .then(({ rows, count }) => {
196 console.log(rows[0])
197 console.log(rows[0]['videoQuotaUsed'])
198 console.log(rows[0].get('videoQuotaUsed'))
199 return { 196 return {
200 data: rows, 197 data: rows,
201 total: count 198 total: count
@@ -208,8 +205,6 @@ export class UserModel extends Model<UserModel> {
208 .map(k => parseInt(k, 10) as UserRole) 205 .map(k => parseInt(k, 10) as UserRole)
209 .filter(role => hasUserRight(role, right)) 206 .filter(role => hasUserRight(role, right))
210 207
211 console.log(roles)
212
213 const query = { 208 const query = {
214 attribute: [ 'email' ], 209 attribute: [ 'email' ],
215 where: { 210 where: {