diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 0487f6a34..329c6f3a8 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -1629,7 +1629,7 @@ define([ rpc.send('COOKIE', '', function (err) { cb(err); }); - } + }; // Wait for the RPC we need to be ready and then tyr to authenticate if (_store.onRpcReadyEvt) { diff --git a/www/common/outer/sharedfolder.js b/www/common/outer/sharedfolder.js index b30cfead8..188fb2e40 100644 --- a/www/common/outer/sharedfolder.js +++ b/www/common/outer/sharedfolder.js @@ -109,7 +109,7 @@ define([ nThen(function (waitFor) { // If we're in onCacheReady, make sure we have a cache for this shared folder if (config.cache) { - Cache.getChannelCache(secret.channel, waitFor(function (err, res) { + Cache.getChannelCache(secret.channel, waitFor(function (err) { if (err === "EINVAL") { // Cache not found waitFor.abort(); store.manager.restrictedProxy(id, secret.channel);