Commit 0115cd7c8d03fdb36c0dde9650d86984575aae3c
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !7
Showing
1 changed file
Show diff stats
src/js/service.js
... | ... | @@ -4,7 +4,6 @@ angular.module('focaSeguimiento') |
4 | 4 | function($http, API_ENDPOINT, cordovaGeolocationService) { |
5 | 5 | return { |
6 | 6 | guardarPosicion: function(actividad, idComprobante, observaciones, visita) { |
7 | - visita = (visita) ? true : false; | |
8 | 7 | cordovaGeolocationService.getCurrentPosition(function(posicion) { |
9 | 8 | var nuevaPosicion = { |
10 | 9 | posicion: { |
... | ... | @@ -13,7 +12,7 @@ angular.module('focaSeguimiento') |
13 | 12 | idComprobante: idComprobante, |
14 | 13 | actividad: actividad, |
15 | 14 | observaciones: observaciones, |
16 | - visita: visita | |
15 | + idVisita: visita | |
17 | 16 | } |
18 | 17 | }; |
19 | 18 |