]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/checker-after-init.ts
Fix process delete promise return
[github/Chocobozzz/PeerTube.git] / server / initializers / checker-after-init.ts
index d75c0af04505d072c8dbc64165490090ccc3dde8..911734fa006c140657e0b3619b9a020b19744861 100644 (file)
@@ -132,7 +132,7 @@ function checkConfig () {
   // Broadcast message
   if (CONFIG.BROADCAST_MESSAGE.ENABLED) {
     const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL
-    const available = [ 'info', 'warn', 'error' ]
+    const available = [ 'info', 'warning', 'error' ]
 
     if (available.includes(currentLevel) === false) {
       return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel