Commit dd94d3f49ab06784752ceb5b9ecd99c46b93a25a
1 parent
48987f22fd
Exists in
master
servicio correcto
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
| 1 | angular.module('focaModalNotaPedido') | 1 | angular.module('focaModalNotaPedido') |
| 2 | .service('focaModalNotaPedidoService', [ | 2 | .service('focaModalNotaPedidoService', [ |
| 3 | '$http', | 3 | '$http', |
| 4 | 'API_ENDPOINT', | 4 | 'API_ENDPOINT', |
| 5 | function($http, API_ENDPOINT) { | 5 | function($http, API_ENDPOINT) { |
| 6 | return { | 6 | return { |
| 7 | getNotasPedido: function() { | 7 | getNotasPedido: function() { |
| 8 | return $http.get(API_ENDPOINT.URL + '/nota-pedido'); | 8 | return $http.get(API_ENDPOINT.URL + '/nota-pedido/listar'); |
| 9 | } | 9 | } |
| 10 | }; | 10 | }; |
| 11 | } | 11 | } |
| 12 | ]); | 12 | ]); |
| 13 | 13 |