diff --git a/lib/commands/quota.js b/lib/commands/quota.js index dbaf9efbb..7477929a4 100644 --- a/lib/commands/quota.js +++ b/lib/commands/quota.js @@ -45,7 +45,7 @@ Quota.applyCustomLimits = function (Env) { if (k.length === 44) { user = { pubkey: Util.unescapeKeyCharacters(k) - } + }; } else { try { user = Keys.parseUser(k); diff --git a/www/admin/inner.js b/www/admin/inner.js index 984f868a0..e44abb006 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -150,7 +150,7 @@ define([ var unit = Util.magnitudeOfBytes(bytes); var value = unit === 'GB' ? Util.bytesToGigabytes(bytes) : Util.bytesToMegabytes(bytes); return unit === 'GB' ? Messages._getKey('formattedGB', [value]) - : Messages._getKey('formattedMB', [value]) + : Messages._getKey('formattedMB', [value]); }; Messages.admin_defaultlimitTitle = "Storage limit"; // XXX