Commit 908fbb63c9c11595dff708981903899047005198
1 parent
1a386eac38
Exists in
master
refactor cookies
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
| ... | ... | @@ -6,7 +6,7 @@ angular.module('focaModalDetalleCisternas') |
| 6 | 6 | function($http, $cookies, API_ENDPOINT) { |
| 7 | 7 | var url = API_ENDPOINT.URL; |
| 8 | 8 | return { |
| 9 | - idUsuario: $cookies.get('idUsuario'), | |
| 9 | + idUsuario: $cookies.get('vendedorCobrador'), | |
| 10 | 10 | obtenerVehiculoById: function(idVehiculo) { |
| 11 | 11 | return $http.get(url + '/vehiculo/' + idVehiculo); |
| 12 | 12 | }, |