Fixed GETQUOTA for invalid quota root

This commit is contained in:
Andris Reinman 2017-04-01 14:15:13 +03:00
parent abba61f790
commit c22ecebdbc

View file

@ -28,7 +28,7 @@ module.exports = {
return callback(err);
}
if (typeof quota === 'string') {
if (typeof data === 'string') {
return callback(null, {
response: 'NO',
code: data.toUpperCase()