mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
show 24 hours in traffic graph
This commit is contained in:
@@ -189,7 +189,7 @@ SocketAdmin.email.test = function(socket, data, callback) {
|
||||
|
||||
SocketAdmin.analytics.get = function(socket, data, callback) {
|
||||
data.units = 'hours'; // temp
|
||||
data.amount = 12;
|
||||
data.amount = 24;
|
||||
|
||||
if (data && data.graph && data.units && data.amount) {
|
||||
if (data.graph === 'traffic') {
|
||||
|
||||
Reference in New Issue
Block a user