Commit 2fafaf6efb5aa760b87f61408ba60fa72322a6c1
1 parent
7d07fe1084
Exists in
master
and in
1 other branch
parámetro entere{}
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.post(route + '/nota-pedidos/crear', obj); | |
| 7 | + return $http.post(route + '/nota-pedidos/crear', {obj}); | |
| 8 | 8 | }, |
| 9 | 9 | obtenerNotaPedido: function() { |
| 10 | 10 | return $http.get(route +'/nota-pedido'); |