web: fix URL for flows cached count
This commit is contained in:
parent
0e975757b8
commit
a3c9d5873c
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue