aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-23 08:56:57 +0200
committerChocobozzz <me@florianbigard.com>2019-08-23 08:56:57 +0200
commitd11c28a36b1382ea0a5d5e8d19a67e99b6b24de0 (patch)
tree400fe49c0166e87b080451c8f0711f973ac0963f /server/middlewares/validators
parent001ed2d40c8d2c8f494f5dc7f91ed62d56df10fd (diff)
downloadPeerTube-d11c28a36b1382ea0a5d5e8d19a67e99b6b24de0.tar.gz
PeerTube-d11c28a36b1382ea0a5d5e8d19a67e99b6b24de0.tar.zst
PeerTube-d11c28a36b1382ea0a5d5e8d19a67e99b6b24de0.zip
Fix build
Diffstat (limited to 'server/middlewares/validators')
-rw-r--r--server/middlewares/validators/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index d51bc27e6..26f43cec7 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -2,7 +2,7 @@ import * as Bluebird from 'bluebird'
2import * as express from 'express' 2import * as express from 'express'
3import { body, param } from 'express-validator' 3import { body, param } from 'express-validator'
4import { omit } from 'lodash' 4import { omit } from 'lodash'
5import { isIdOrUUIDValid, toBooleanOrNull } from '../../helpers/custom-validators/misc' 5import { isIdOrUUIDValid, toBooleanOrNull, toIntOrNull } from '../../helpers/custom-validators/misc'
6import { 6import {
7 isUserAdminFlagsValid, 7 isUserAdminFlagsValid,
8 isUserAutoPlayVideoValid, 8 isUserAutoPlayVideoValid,