summaryrefslogtreecommitdiff
path: root/src/api/endpoints/aggregation
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-08-12 18:03:23 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-08-12 18:03:23 +0900
commit8564a29b5aa1dd34d373cac94480612b9e573345 (patch)
treef57149f07e4f9eb4189ad4300c7ffe4b426c5bf3 /src/api/endpoints/aggregation
parentその日ごとの「アカウントが作成された回数」もグラフ... (diff)
downloadsharkey-8564a29b5aa1dd34d373cac94480612b9e573345.tar.gz
sharkey-8564a29b5aa1dd34d373cac94480612b9e573345.tar.bz2
sharkey-8564a29b5aa1dd34d373cac94480612b9e573345.zip
[API] Remove needless data
Diffstat (limited to 'src/api/endpoints/aggregation')
-rw-r--r--src/api/endpoints/aggregation/posts.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/api/endpoints/aggregation/posts.ts b/src/api/endpoints/aggregation/posts.ts
index 573816e4fd..48ee225129 100644
--- a/src/api/endpoints/aggregation/posts.ts
+++ b/src/api/endpoints/aggregation/posts.ts
@@ -79,11 +79,6 @@ module.exports = params => new Promise(async (res, rej) => {
graph.push(data);
} else {
graph.push({
- date: {
- year: day.getFullYear(),
- month: day.getMonth() + 1, // In JavaScript, month is zero-based.
- day: day.getDate()
- },
posts: 0,
reposts: 0,
replies: 0