mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 15:46:06 +09:00
use chartLimit
This commit is contained in:
parent
565630fff0
commit
17af43301a
@ -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 New Issue
Block a user