summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-10-14 16:29:54 -0500
committerFatih Acet <acetfatih@gmail.com>2016-10-21 15:46:59 +0300
commit1a53511a3454bf70786d72e59530bff42ae160e4 (patch)
tree5b976f955dea78fb635d1a62d7d26b39f8ff1954 /app
parent1e66061b1ec5fb11457abca0845c13551afa8258 (diff)
downloadgitlab-ce-1a53511a3454bf70786d72e59530bff42ae160e4.tar.gz
Fix object data to be sent to fetch analytics data
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/cycle_analytics.js.es66
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();