Commit 2fafaf6efb5aa760b87f61408ba60fa72322a6c1

Authored by Eric Fernandez
1 parent 7d07fe1084
Exists in master

parámetro entere{}

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -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');