aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/video-channel-syncs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/custom-validators/video-channel-syncs.ts')
-rw-r--r--server/helpers/custom-validators/video-channel-syncs.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/helpers/custom-validators/video-channel-syncs.ts b/server/helpers/custom-validators/video-channel-syncs.ts
deleted file mode 100644
index c5a9afa96..000000000
--- a/server/helpers/custom-validators/video-channel-syncs.ts
+++ /dev/null
@@ -1,6 +0,0 @@
1import { VIDEO_CHANNEL_SYNC_STATE } from '@server/initializers/constants'
2import { exists } from './misc'
3
4export function isVideoChannelSyncStateValid (value: any) {
5 return exists(value) && VIDEO_CHANNEL_SYNC_STATE[value] !== undefined
6}