Adds .json
to the endpoint requested in order to avoid showing JSON
This commit is contained in:
parent
4975f4160a
commit
5d0c5663a0
2 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
class PipelinesService {
|
||||
constructor(endpoint) {
|
||||
this.pipelines = Vue.resource(endpoint);
|
||||
this.pipelines = Vue.resource(`${endpoint}.json`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fix Merge request pipelines displays JSON
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue