Skip to content
Snippets Groups Projects
Commit ee886f93 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Backport EE changes. Service method should be `get` and not `all`

parent 8ec8b2da
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -78,7 +78,7 @@ module.exports = Vue.component('environment-component', {
 
this.isLoading = true;
 
return service.all()
return service.get()
.then(resp => ({
headers: resp.headers,
body: resp.json(),
Loading
Loading
Loading
Loading
@@ -92,7 +92,7 @@ module.exports = Vue.component('environment-folder-view', {
 
this.isLoading = true;
 
return service.all()
return service.get()
.then(resp => ({
headers: resp.headers,
body: resp.json(),
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@ class EnvironmentsService {
this.environments = Vue.resource(endpoint);
}
 
all() {
get() {
return this.environments.get();
}
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment