diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-03 23:38:01 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-03 23:38:01 -0700 |
commit | cb8abfefc88b82e12be8b5b370573e3648da9c03 (patch) | |
tree | a24ec8c63cdd2a971d40be8d521e25505588e1c7 /system/api/analytics/init.go | |
parent | 506d086823e88aa8a2213e03bdf8457c9804e09b (diff) |
test for unescaping string in js map
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 58f131d..d6735fb 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -162,7 +162,7 @@ CHECK_REQUEST: for j := range times { // format times[j] (time.Time) into a MM/DD format for dates - dates[j] = []byte(times[j].Format("01/02")) + dates[j] = json.RawMessage(times[j].Format("01/02")) // if on today, there will be no next iteration to set values for // day prior so all valid requests belong to today |