diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-10-15 00:29:54 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-10-21 15:46:59 +0300 |
commit | 1a53511a3454bf70786d72e59530bff42ae160e4 (patch) | |
tree | 5b976f955dea78fb635d1a62d7d26b39f8ff1954 | |
parent | 1e66061b1ec5fb11457abca0845c13551afa8258 (diff) |
Fix object data to be sent to fetch analytics data
-rw-r--r-- | app/assets/javascripts/cycle_analytics.js.es6 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle_analytics.js.es6 b/app/assets/javascripts/cycle_analytics.js.es6 index bd9accacb8c..20791bab942 100644 --- a/app/assets/javascripts/cycle_analytics.js.es6 +++ b/app/assets/javascripts/cycle_analytics.js.es6 @@ -36,7 +36,11 @@ method: 'GET', dataType: 'json', contentType: 'application/json', - data: { start_date: options.startDate } + data: { + cycle_analytics: { + start_date: options.startDate + } + } }).done((data) => { this.decorateData(data); this.initDropdown(); |