From cdbb41eb0436ac4b0ce0938bef64e633e509e99b Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 8 Apr 2021 18:04:37 +0200 Subject: [PATCH] Fix type error in driveless mode --- www/common/outer/async-store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 8ca1e741c..9069cc70a 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -104,6 +104,7 @@ define([ Store.get = function (clientId, data, cb) { var s = getStore(data.teamId); if (!s) { return void cb({ error: 'ENOTFOUND' }); } + if (!s.proxy) { return void cb({ error: 'ENODRIVE' }); } cb(Util.find(s.proxy, data.key)); }; Store.set = function (clientId, data, cb) {