use chartLimit

This commit is contained in:
ThatOneCalculator 2023-04-25 18:34:04 -07:00
parent 565630fff0
commit 17af43301a

View file

@ -113,7 +113,7 @@ async function renderChart() {
values = raw.deliverFailed;
} else if (props.src === "my-notes") {
const raw = await os.api("charts/user/notes", {
limit: 7 * 21,
limit: chartLimit,
span: "day",
userId: $i.id,
});