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; 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,
}); });