aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/index-dock.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/index-dock.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/index-dock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/index-dock.js b/packages/meshbay-hub/src/meshbay_hub/static/index-dock.js
index b136578..6730e60 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/index-dock.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/index-dock.js
@@ -54,7 +54,7 @@ function useLoopbackActivity() {
const poll = async () => {
let delay = IDLE_POLL_MS;
try {
- const data = await platform.node.call('GET', '/api/index-status');
+ const data = await platform.node.op('indexStatus');
const next = {};
for (const g of (data && data.groups) || []) next[g.group_id] = fromLoopback(g);
if (Object.values(next).some((j) => j.scanning || j.queued.length)) {