From 04a6df59db49633e1ccb4ddd82a9bd1e930c0417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sun, 14 Jul 2024 11:49:13 +0900 Subject: [PATCH] Update packages/backend/src/server/api/endpoints/users.ts --- packages/backend/src/server/api/endpoints/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/users.ts b/packages/backend/src/server/api/endpoints/users.ts index a424d7a4c7..41b1dbb581 100644 --- a/packages/backend/src/server/api/endpoints/users.ts +++ b/packages/backend/src/server/api/endpoints/users.ts @@ -74,7 +74,7 @@ export default class extends Endpoint { // eslint- } const chartUsers: { userId: string; count: number; }[] = []; if (ps.sort?.endsWith('pv')) { - await this.perUserPvChart.getChartUsers('hour', 0, null, ps.limit, ps.offset).then(users => { + await this.perUserPvChart.getChartUsers('day', 0, null, ps.limit, ps.offset).then(users => { chartUsers.push(...users); }); }