web: fix typo

This commit is contained in:
Jens Langhammer 2020-12-16 23:08:40 +01:00
parent b80b2626a6
commit 2ffaa94825

View file

@ -7,7 +7,7 @@ import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
export class WorkersStatusCard extends AdminStatusCard<number> { export class WorkersStatusCard extends AdminStatusCard<number> {
getPrimaryValue(): Promise<number> { getPrimaryValue(): Promise<number> {
return DefaultClient.fetch<PBResponse<number>>(["admins", "workers"]).then((r) => { return DefaultClient.fetch<PBResponse<number>>(["admin", "workers"]).then((r) => {
return r.pagination.count; return r.pagination.count;
}); });
} }