web: fix typo

This commit is contained in:
Jens Langhammer 2020-12-16 23:08:40 +01:00
parent b80b2626a6
commit 2ffaa94825
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
export class WorkersStatusCard extends AdminStatusCard<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;
});
}