projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001ed2d
)
Fix build
author
Chocobozzz
<me@florianbigard.com>
Fri, 23 Aug 2019 06:56:57 +0000
(08:56 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 23 Aug 2019 06:56:57 +0000
(08:56 +0200)
server/middlewares/validators/users.ts
patch
|
blob
|
history
diff --git
a/server/middlewares/validators/users.ts
b/server/middlewares/validators/users.ts
index d51bc27e6c3703fb9bb288a34f18d6e58d6cbf1f..26f43cec71a56bb87769ef6fbb06fa31bda490a0 100644
(file)
--- a/
server/middlewares/validators/users.ts
+++ b/
server/middlewares/validators/users.ts
@@
-2,7
+2,7
@@
import * as Bluebird from 'bluebird'
import * as express from 'express'
import { body, param } from 'express-validator'
import { omit } from 'lodash'
-import { isIdOrUUIDValid, toBooleanOrNull } from '../../helpers/custom-validators/misc'
+import { isIdOrUUIDValid, toBooleanOrNull
, toIntOrNull
} from '../../helpers/custom-validators/misc'
import {
isUserAdminFlagsValid,
isUserAutoPlayVideoValid,