Skip to content

Commit

Permalink
fix(bug): modify endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Jun 16, 2017
1 parent 9025724 commit 4806fbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/component/component.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ class CellularService {
});
}

getCarrier() {
// return this.rest.get(`/network/cellulars/${id}/firmware`, this.restConfig).then(res => res.data).catch(err => {
return this.$http.get(`http://localhost:3000/firmware`, this.restConfig).then(res => res.data).catch(err => {
getCarrier(id) {
return this.rest.get(`/network/cellulars/${id}/firmware`, this.restConfig).then(res => res.data).catch(err => {
this.exception.catcher(this.$filter('translate')(this.message.read.error))(err);
return this.$q.reject();
});
Expand Down

0 comments on commit 4806fbc

Please sign in to comment.