This commit is contained in:
syuilo
2017-01-17 11:11:22 +09:00
parent caa8aee7a0
commit 9f81288fcc
48 changed files with 91 additions and 140 deletions

View File

@@ -48,8 +48,7 @@ module.exports = (params) =>
_id: '$date',
count: { $sum: 1 }
}}
])
.toArray();
]);
datas.forEach(data => {
data.date = data._id;

View File

@@ -45,8 +45,7 @@ module.exports = (params) =>
post_id: false
}, {
sort: { created_at: -1 }
})
.toArray();
});
const graph = [];

View File

@@ -47,8 +47,7 @@ module.exports = (params) =>
_id: '$date',
count: { $sum: 1 }
}}
])
.toArray();
]);
datas.forEach(data => {
data.date = data._id;

View File

@@ -47,8 +47,7 @@ module.exports = (params) =>
_id: '$date',
count: { $sum: 1 }
}}
])
.toArray();
]);
datas.forEach(data => {
data.date = data._id;

View File

@@ -46,8 +46,7 @@ module.exports = (params) =>
followee_id: false
}, {
sort: { created_at: -1 }
})
.toArray();
});
const graph = [];

View File

@@ -46,8 +46,7 @@ module.exports = (params) =>
followee_id: false
}, {
sort: { created_at: -1 }
})
.toArray();
});
const graph = [];

View File

@@ -48,8 +48,7 @@ module.exports = (params) =>
_id: '$date',
count: { $sum: 1 }
}}
])
.toArray();
]);
datas.forEach(data => {
data.date = data._id;

View File

@@ -70,8 +70,7 @@ module.exports = (params) =>
count: '$count'
}}
} }
])
.toArray();
]);
datas.forEach(data => {
data.date = data._id;