From 2ffaa948252a1b7254ae5183cf4a61fbb0a4fda8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 16 Dec 2020 23:08:40 +0100 Subject: [PATCH] web: fix typo --- web/src/pages/admin-overview/cards/WorkerStatusCard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts index a335cee87..232f3d0ea 100644 --- a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts +++ b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts @@ -7,7 +7,7 @@ import { AdminStatus, AdminStatusCard } from "./AdminStatusCard"; export class WorkersStatusCard extends AdminStatusCard { getPrimaryValue(): Promise { - return DefaultClient.fetch>(["admins", "workers"]).then((r) => { + return DefaultClient.fetch>(["admin", "workers"]).then((r) => { return r.pagination.count; }); }