web: fix URL for flows cached count

This commit is contained in:
Jens Langhammer 2021-02-20 18:27:03 +01:00
parent 0e975757b8
commit a3c9d5873c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export class Flow {
} }
static cached(): Promise<number> { static cached(): Promise<number> {
return DefaultClient.fetch<{ count: number }>(["flows", "all", "cached"]).then(r => { return DefaultClient.fetch<{ count: number }>(["flows", "instances", "cached"]).then(r => {
return r.count; return r.count;
}); });
} }