use chartLimit
This commit is contained in:
parent
19783a9002
commit
d2fd719cab
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ async function renderChart() {
|
||||||
values = raw.deliverFailed;
|
values = raw.deliverFailed;
|
||||||
} else if (props.src === "my-notes") {
|
} else if (props.src === "my-notes") {
|
||||||
const raw = await os.api("charts/user/notes", {
|
const raw = await os.api("charts/user/notes", {
|
||||||
limit: 7 * 21,
|
limit: chartLimit,
|
||||||
span: "day",
|
span: "day",
|
||||||
userId: $i.id,
|
userId: $i.id,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue