X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fcustom-validators%2Fusers.ts;h=16a95f1204f28f0a33221aef427756226d4fe213;hb=6aa541481390980f9c85d2e66514ba0e6ce77a35;hp=68e84d9ebb79ef90ced517129bb5b21ef9ffb76a;hpb=8d5e65349deebd499c0be10fe02d535a77d58ddb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts index 68e84d9eb..16a95f120 100644 --- a/server/helpers/custom-validators/users.ts +++ b/server/helpers/custom-validators/users.ts @@ -65,6 +65,10 @@ function isUserBlockedValid (value: any) { return isBooleanValid(value) } +function isUserAutoPlayNextVideoValid (value: any) { + return isBooleanValid(value) +} + function isNoInstanceConfigWarningModal (value: any) { return isBooleanValid(value) } @@ -106,6 +110,7 @@ export { isUserNSFWPolicyValid, isUserWebTorrentEnabledValid, isUserAutoPlayVideoValid, + isUserAutoPlayNextVideoValid, isUserDisplayNameValid, isUserDescriptionValid, isNoInstanceConfigWarningModal,