From a92afa283947f1bbf9b12525982af74f6ce1f469 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 13 Dec 2016 09:02:07 -0800 Subject: flipping comparison to match previous op change --- system/api/analytics/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3