Commit 7acc259a0c24690b6e7ea1306f904e8394af6d65

Authored by Jose Pinto
1 parent 7457fa852a
Exists in master and in 1 other branch develop

arreglo campo idVisita

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