summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/charts/user/notes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/charts/user/notes.ts')
-rw-r--r--src/server/api/endpoints/charts/user/notes.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/api/endpoints/charts/user/notes.ts b/src/server/api/endpoints/charts/user/notes.ts
index a256ed96f9..cd028d88a2 100644
--- a/src/server/api/endpoints/charts/user/notes.ts
+++ b/src/server/api/endpoints/charts/user/notes.ts
@@ -1,11 +1,11 @@
import $ from 'cafy';
import getParams from '../../../get-params';
-import { perUserNotesStats } from '../../../../../services/stats';
+import perUserNotesChart from '../../../../../chart/per-user-notes';
import ID from '../../../../../misc/cafy-id';
export const meta = {
desc: {
- 'ja-JP': 'ユーザーごとの投稿の統計を取得します。'
+ 'ja-JP': 'ユーザーごとの投稿のチャートを取得します。'
},
params: {
@@ -35,7 +35,7 @@ export default (params: any) => new Promise(async (res, rej) => {
const [ps, psErr] = getParams(meta, params);
if (psErr) throw psErr;
- const stats = await perUserNotesStats.getChart(ps.span as any, ps.limit, ps.userId);
+ const stats = await perUserNotesChart.getChart(ps.span as any, ps.limit, ps.userId);
res(stats);
});