Commit d34caf7b9c66514dd87bb309920154bfc6ea12f2
Exists in
master
Merge branch 'master' into 'master'
servicio correcto See merge request modulos-npm/foca-modal-nota-pedido!3
Showing
1 changed file
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 |