Commit 7d07fe108449d987e312eb1188249caa64b01be0
1 parent
12a4417736
Exists in
master
and in
1 other branch
arreglo servicio de get a post*
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
| ... | ... | @@ -4,7 +4,7 @@ angular.module('focaCrearNotaPedido') |
| 4 | 4 | var notaPedido; |
| 5 | 5 | return { |
| 6 | 6 | crearNotaPedido: function(obj) { |
| 7 | - return $http.get(route + '/nota-pedidos/crear'); | |
| 7 | + return $http.post(route + '/nota-pedidos/crear', obj); | |
| 8 | 8 | }, |
| 9 | 9 | obtenerNotaPedido: function() { |
| 10 | 10 | return $http.get(route +'/nota-pedido'); |