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"
|
||||
);
|
||||
json = JSON.parse(json);
|
||||
return json;
|
||||
} catch(e) {
|
||||
console.log(e);
|
||||
return;
|
||||
}
|
||||
return json;
|
||||
};
|
||||
|
||||
ClientManager.prototype.getUsers = function() {
|
||||
|
|
Loading…
Reference in New Issue