diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-03-07 11:23:31 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-03-07 11:23:31 +0900 |
| commit | 917726fecc2206321bd41264a66a9a39a2103d57 (patch) | |
| tree | fa5d3f819a009666bde580c7691836bda34eaa8b /src/server/api/endpoints/stats.ts | |
| parent | Refactor: Better arg name (diff) | |
| download | sharkey-917726fecc2206321bd41264a66a9a39a2103d57.tar.gz sharkey-917726fecc2206321bd41264a66a9a39a2103d57.tar.bz2 sharkey-917726fecc2206321bd41264a66a9a39a2103d57.zip | |
wip #6140
Diffstat (limited to 'src/server/api/endpoints/stats.ts')
| -rw-r--r-- | src/server/api/endpoints/stats.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/api/endpoints/stats.ts b/src/server/api/endpoints/stats.ts index a6ee240a89..dab05c1675 100644 --- a/src/server/api/endpoints/stats.ts +++ b/src/server/api/endpoints/stats.ts @@ -60,9 +60,9 @@ export default define(meta, async () => { Notes.count({ where: { userHost: null }, cache: 3600000 }), Users.count({ cache: 3600000 }), Users.count({ where: { host: null }, cache: 3600000 }), - federationChart.getChart('hour', 1, 0).then(chart => chart.instance.total[0]), - driveChart.getChart('hour', 1, 0).then(chart => chart.local.totalSize[0]), - driveChart.getChart('hour', 1, 0).then(chart => chart.remote.totalSize[0]), + federationChart.getChart('hour', 1, null).then(chart => chart.instance.total[0]), + driveChart.getChart('hour', 1, null).then(chart => chart.local.totalSize[0]), + driveChart.getChart('hour', 1, null).then(chart => chart.remote.totalSize[0]), ]); return { |