Commit c6682e7fd80098fba05f1838b192938c50665c89
1 parent
669972d07c
Exists in
master
and in
2 other branches
rename crear remito
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/js/service.js
... | ... | @@ -8,9 +8,8 @@ angular.module('focaCrearHojaRuta') |
8 | 8 | return $http.post(route + '/hoja-ruta', hojaRuta); |
9 | 9 | }, |
10 | 10 | crearRemito: function(remito) { |
11 | - console.log('Crear remito-----: ', remito); | |
12 | 11 | // TODO: Cambiar para usar el servicio /remito |
13 | - return $http.post(route + '/remito', remito); | |
12 | + return $http.post(route + '/remito/guardar', remito); | |
14 | 13 | }, |
15 | 14 | obtenerHojaRuta: function() { |
16 | 15 | return $http.get(route +'/hoja-ruta'); |