From 8564a29b5aa1dd34d373cac94480612b9e573345 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 12 Aug 2017 18:03:23 +0900 Subject: [PATCH] [API] Remove needless data --- src/api/endpoints/aggregation/posts.ts | 5 ----- 1 file changed, 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