1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Server dep maintenance upgrade

This commit is contained in:
Chocobozzz 2024-11-25 10:01:40 +01:00
parent c3544d80b5
commit 804171860e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 1780 additions and 1702 deletions

View file

@ -39,7 +39,7 @@ const loggerFormat = winston.format.printf((info) => {
if (info.sql) {
if (CONFIG.LOG.PRETTIFY_SQL) {
additionalInfos += '\n' + sqlFormat(info.sql, {
additionalInfos += '\n' + sqlFormat(info.sql as string, {
language: 'sql',
tabWidth: 2
})
@ -48,7 +48,7 @@ const loggerFormat = winston.format.printf((info) => {
}
}
return `[${info.label}] ${toTimeFormat(info.timestamp)} ${info.level}: ${info.message}${additionalInfos}`
return `[${info.label}] ${toTimeFormat(info.timestamp as string)} ${info.level}: ${info.message}${additionalInfos}`
})
const logger = winston.createLogger({