Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-10-11 18:18:44 +0300
committerTim Zallmann <tzallmann@gitlab.com>2018-10-11 18:18:44 +0300
commita8513c7dc306aee838074bdd01c1999d8c19f4c3 (patch)
treeb2d01799b91dd1dfb6041ce71fec35a8f0fbfac8 /app
parent2343dd8dd6ef6c74511e34808377b7dc5fe8c25b (diff)
parent8bc33c789443550ce2f0d75cf8477e1aae204538 (diff)
Merge branch '52472-pipeline-endpoint-json' into 'master'
Adds `.json` to the end of pipelines endpoint Closes #52472 See merge request gitlab-org/gitlab-ce!22293
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/jobs/store/actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/jobs/store/actions.js b/app/assets/javascripts/jobs/store/actions.js
index 298367c9342..c8e1090bcc5 100644
--- a/app/assets/javascripts/jobs/store/actions.js
+++ b/app/assets/javascripts/jobs/store/actions.js
@@ -139,7 +139,7 @@ export const fetchStages = ({ state, dispatch }) => {
dispatch('requestStages');
axios
- .get(state.job.pipeline.path)
+ .get(`${state.job.pipeline.path}.json`)
.then(({ data }) => {
dispatch('receiveStagesSuccess', data.details.stages);
dispatch('fetchJobsForStage', data.details.stages[0]);