[API] Remove needless data
This commit is contained in:
parent
0e786fbb66
commit
8564a29b5a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue