Fix scope error in ClientManager.loadUser
This commit is contained in:
parent
f015e4bfd4
commit
9b2095fcbc
|
@ -44,11 +44,11 @@ ClientManager.prototype.loadUser = function(name) {
|
||||||
"utf-8"
|
"utf-8"
|
||||||
);
|
);
|
||||||
json = JSON.parse(json);
|
json = JSON.parse(json);
|
||||||
|
return json;
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return json;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ClientManager.prototype.getUsers = function() {
|
ClientManager.prototype.getUsers = function() {
|
||||||
|
|
Loading…
Reference in New Issue