[API] Remove needless data

This commit is contained in:
syuilo 2017-08-12 18:03:23 +09:00
parent 4d42a7ee18
commit 81ba3e2160

View file

@ -79,11 +79,6 @@ module.exports = params => new Promise(async (res, rej) => {
graph.push(data); graph.push(data);
} else { } else {
graph.push({ graph.push({
date: {
year: day.getFullYear(),
month: day.getMonth() + 1, // In JavaScript, month is zero-based.
day: day.getDate()
},
posts: 0, posts: 0,
reposts: 0, reposts: 0,
replies: 0 replies: 0