Commit a4787fa0 authored by Eric Eastwood's avatar Eric Eastwood
parent 75ac0420
...@@ -6,7 +6,13 @@ export default class MRWidgetService extends CEWidgetService { ...@@ -6,7 +6,13 @@ export default class MRWidgetService extends CEWidgetService {
constructor(mr) { constructor(mr) {
super(mr); super(mr);
this.approvalsResource = Vue.resource(mr.approvalsPath); // Set as a text/plain request so BE doesn't try to parse
// See https://gitlab.com/gitlab-org/gitlab-ce/issues/34534
this.approvalsResource = Vue.resource(mr.approvalsPath, {}, {}, {
headers: {
'Content-Type': 'text/plain',
},
});
this.rebaseResource = Vue.resource(mr.rebasePath); this.rebaseResource = Vue.resource(mr.rebasePath);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment