diff options
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r-- | server/helpers/custom-validators/users.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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) { | |||
65 | return isBooleanValid(value) | 65 | return isBooleanValid(value) |
66 | } | 66 | } |
67 | 67 | ||
68 | function isUserAutoPlayNextVideoValid (value: any) { | ||
69 | return isBooleanValid(value) | ||
70 | } | ||
71 | |||
68 | function isNoInstanceConfigWarningModal (value: any) { | 72 | function isNoInstanceConfigWarningModal (value: any) { |
69 | return isBooleanValid(value) | 73 | return isBooleanValid(value) |
70 | } | 74 | } |
@@ -106,6 +110,7 @@ export { | |||
106 | isUserNSFWPolicyValid, | 110 | isUserNSFWPolicyValid, |
107 | isUserWebTorrentEnabledValid, | 111 | isUserWebTorrentEnabledValid, |
108 | isUserAutoPlayVideoValid, | 112 | isUserAutoPlayVideoValid, |
113 | isUserAutoPlayNextVideoValid, | ||
109 | isUserDisplayNameValid, | 114 | isUserDisplayNameValid, |
110 | isUserDescriptionValid, | 115 | isUserDescriptionValid, |
111 | isNoInstanceConfigWarningModal, | 116 | isNoInstanceConfigWarningModal, |