diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-04-10 11:30:06 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-05 09:32:13 +0200 |
commit | a1debf5cf029edc550d7d46eff7ef4ab1b51a2b2 (patch) | |
tree | 04dbad14775ead86b65ec8cd76bde4c0cb463c77 /app/assets/javascripts/pipelines/services | |
parent | 3a2b60f7a0109cdb84e8727a2625318a746e84dc (diff) | |
download | gitlab-ce-a1debf5cf029edc550d7d46eff7ef4ab1b51a2b2.tar.gz |
Retry and cancel endpoints send 204 json response. Request is made with type json
Diffstat (limited to 'app/assets/javascripts/pipelines/services')
-rw-r--r-- | app/assets/javascripts/pipelines/services/pipelines_service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines/services/pipelines_service.js b/app/assets/javascripts/pipelines/services/pipelines_service.js index 255cd513490..b21f84b4545 100644 --- a/app/assets/javascripts/pipelines/services/pipelines_service.js +++ b/app/assets/javascripts/pipelines/services/pipelines_service.js @@ -40,6 +40,6 @@ export default class PipelinesService { * @return {Promise} */ postAction(endpoint) { - return Vue.http.post(endpoint, {}, { emulateJSON: true }); + return Vue.http.post(`${endpoint}.json`); } } |