diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-13 09:02:07 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-13 09:02:07 -0800 |
commit | a92afa283947f1bbf9b12525982af74f6ce1f469 (patch) | |
tree | 766346380ba254794cd6693926fae5f819f3d03c /system/api/analytics/init.go | |
parent | feb10ec883258f3b7239398bbc897cec57bab339 (diff) |
flipping comparison to match previous op change
Diffstat (limited to 'system/api/analytics/init.go')
-rw-r--r-- | system/api/analytics/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/analytics/init.go b/system/api/analytics/init.go index bced50d..9942dc2 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -199,7 +199,7 @@ func ChartData() (map[string]interface{}, error) { // append request to requests for analysis if its timestamp is today // and its day is not already in cache d := time.Unix(r.Timestamp/1000, 0) - if !d.Before(today) && m.Get([]byte(d.Format("01/02"))) != nil { + if !d.Before(today) && m.Get([]byte(d.Format("01/02"))) == nil { requests = append(requests, r) } |