Fix lint errors

This commit is contained in:
Sergei Birukov 2024-02-13 19:30:34 +03:00
parent fa392cf260
commit 45147ee7c4
2 changed files with 8 additions and 8 deletions

View file

@ -46,7 +46,7 @@ module.exports = class Server {
return LANG;
})))
.get('/api/ui-detailed-stats', (Util.promisify(async () => {
return UI_DETAILED_STATS === 'true' ? true : false;
return UI_DETAILED_STATS === 'true';
})))
// Authentication