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
1 changed files with 1 additions and 1 deletions

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