lint compliance

This commit is contained in:
ansuz 2020-10-08 15:20:22 +05:30
parent a5693af2e9
commit 914139dbfa
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ Quota.applyCustomLimits = function (Env) {
if (k.length === 44) {
user = {
pubkey: Util.unescapeKeyCharacters(k)
}
};
} else {
try {
user = Keys.parseUser(k);

View file

@ -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