1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Merge branch 'release/3.2.0' into develop

This commit is contained in:
Chocobozzz 2021-05-14 14:18:13 +02:00
commit 5b1a6d45b5
No known key found for this signature in database
GPG key ID: 583A612D890159BE
10 changed files with 14 additions and 12 deletions

View file

@ -132,7 +132,7 @@ function checkConfig () {
// Broadcast message
if (CONFIG.BROADCAST_MESSAGE.ENABLED) {
const currentLevel = CONFIG.BROADCAST_MESSAGE.LEVEL
const available = [ 'info', 'warning', 'error' ]
const available = [ 'info', 'warn', 'error' ]
if (available.includes(currentLevel) === false) {
return 'Broadcast message level should be ' + available.join(' or ') + ' instead of ' + currentLevel