use chartLimit

This commit is contained in:
ThatOneCalculator 2023-04-25 18:34:04 -07:00
parent 19783a9002
commit d2fd719cab
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

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