mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Update dependencies
This commit is contained in:
parent
9d94e5d7b9
commit
bdd428a6d9
33 changed files with 347 additions and 343 deletions
|
@ -46,7 +46,7 @@ function isUserEmailVerifiedValid (value: any) {
|
|||
|
||||
const nsfwPolicies = values(NSFW_POLICY_TYPES)
|
||||
function isUserNSFWPolicyValid (value: any) {
|
||||
return exists(value) && nsfwPolicies.indexOf(value) !== -1
|
||||
return exists(value) && nsfwPolicies.includes(value)
|
||||
}
|
||||
|
||||
function isUserWebTorrentEnabledValid (value: any) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue