aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/checker-after-init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/checker-after-init.ts')
-rw-r--r--server/initializers/checker-after-init.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/checker-after-init.ts b/server/initializers/checker-after-init.ts
index 635a32010..f65798c42 100644
--- a/server/initializers/checker-after-init.ts
+++ b/server/initializers/checker-after-init.ts
@@ -49,7 +49,7 @@ function checkConfig () {
49 checkSearchConfig() 49 checkSearchConfig()
50 checkLiveConfig() 50 checkLiveConfig()
51 checkObjectStorageConfig() 51 checkObjectStorageConfig()
52 checkVideoEditorConfig() 52 checkVideoStudioConfig()
53} 53}
54 54
55// We get db by param to not import it in this file (import orders) 55// We get db by param to not import it in this file (import orders)
@@ -260,8 +260,8 @@ function checkObjectStorageConfig () {
260 } 260 }
261} 261}
262 262
263function checkVideoEditorConfig () { 263function checkVideoStudioConfig () {
264 if (CONFIG.VIDEO_EDITOR.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) { 264 if (CONFIG.VIDEO_STUDIO.ENABLED === true && CONFIG.TRANSCODING.ENABLED === false) {
265 throw new Error('Video editor cannot be enabled if transcoding is disabled') 265 throw new Error('Video studio cannot be enabled if transcoding is disabled')
266 } 266 }
267} 267}