Commit 8330867cf3433894da2e3497b52ab32318a592fa
Exists in
master
Merge branch 'master' into 'master'
Master See merge request modulos-npm/foca-crear-nota-pedido!2
Showing
1 changed file
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'); |