From 2fafaf6efb5aa760b87f61408ba60fa72322a6c1 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Mon, 8 Oct 2018 19:39:52 -0300 Subject: [PATCH] =?UTF-8?q?par=C3=A1metro=20entere{}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/service.js b/src/js/service.js index 5dd518a..990db2d 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -4,7 +4,7 @@ angular.module('focaCrearNotaPedido') var notaPedido; return { crearNotaPedido: function(obj) { - return $http.post(route + '/nota-pedidos/crear', obj); + return $http.post(route + '/nota-pedidos/crear', {obj}); }, obtenerNotaPedido: function() { return $http.get(route +'/nota-pedido'); -- 1.9.1