fix logging error

This commit is contained in:
ansuz 2022-09-13 13:56:23 +05:30
parent 2b365694f6
commit 7b64b3def7

View File

@ -312,7 +312,7 @@ app.get('/api/updatequota', function (req, res) {
var Quota = require("./lib/commands/quota");
Quota.updateCachedLimits(Env, (e) => {
if (e) {
Env.warn('UPDATE_QUOTA_ERR', e);
Env.Log.warn('UPDATE_QUOTA_ERR', e);
res.status(500);
return void send500(res);
}