From 93a500be0d47792a00bf5e47b954a70032d0e8d3 Mon Sep 17 00:00:00 2001 From: Namekuji Date: Tue, 26 Sep 2023 23:10:12 -0400 Subject: [PATCH] refactor: no need to give start and end --- packages/backend/src/server/api/endpoints/hashtags/trend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/hashtags/trend.ts b/packages/backend/src/server/api/endpoints/hashtags/trend.ts index 5b42ca99a5..60a03082c4 100644 --- a/packages/backend/src/server/api/endpoints/hashtags/trend.ts +++ b/packages/backend/src/server/api/endpoints/hashtags/trend.ts @@ -107,7 +107,7 @@ export default define(meta, paramDef, async () => { if (scyllaClient) { const stats = hots.map((tag, i) => ({ tag, - chart: new Array(20).fill(0, 0, 20), // FIXME: generate chart + chart: new Array(20).fill(0), // FIXME: generate chart usersCount: tags[i].users.size, }));