diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-23 08:56:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-23 08:56:57 +0200 |
commit | d11c28a36b1382ea0a5d5e8d19a67e99b6b24de0 (patch) | |
tree | 400fe49c0166e87b080451c8f0711f973ac0963f /server/middlewares/validators | |
parent | 001ed2d40c8d2c8f494f5dc7f91ed62d56df10fd (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
2 | import * as express from 'express' | 2 | import * as express from 'express' |
3 | import { body, param } from 'express-validator' | 3 | import { body, param } from 'express-validator' |
4 | import { omit } from 'lodash' | 4 | import { omit } from 'lodash' |
5 | import { isIdOrUUIDValid, toBooleanOrNull } from '../../helpers/custom-validators/misc' | 5 | import { isIdOrUUIDValid, toBooleanOrNull, toIntOrNull } from '../../helpers/custom-validators/misc' |
6 | import { | 6 | import { |
7 | isUserAdminFlagsValid, | 7 | isUserAdminFlagsValid, |
8 | isUserAutoPlayVideoValid, | 8 | isUserAutoPlayVideoValid, |