Adds .json to the endpoint requested in order to avoid showing JSON

This commit is contained in:
Filipa Lacerda 2017-02-09 16:36:32 +00:00
parent 4975f4160a
commit 5d0c5663a0
2 changed files with 5 additions and 1 deletions

View file

@ -9,7 +9,7 @@
*/
class PipelinesService {
constructor(endpoint) {
this.pipelines = Vue.resource(endpoint);
this.pipelines = Vue.resource(`${endpoint}.json`);
}
/**

View file

@ -0,0 +1,4 @@
---
title: Fix Merge request pipelines displays JSON
merge_request:
author: