Commit dfbacd7cc26c62cda3746f9aedc2c96fbd4b10f3

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

ok nombres plural

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
src/js/controller.js
... ... @@ -106,7 +106,7 @@ angular.module('focaEstadoCisternas')
106 106  
107 107 function getEstadosCisternas(cisternas) {
108 108 cisternas.forEach(function(cisterna) {
109   - focaEstadoCisternaService
  109 + focaEstadoCisternasService
110 110 .getEstadoCisterna(cisterna.id, $scope.fecha)
111 111 .then(function(res) {
112 112 cisterna.estado = res.data;
1   -angular.module('focaEstadoCisterna')
2   - .factory('focaEstadoCisternaService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) {
  1 +angular.module('focaEstadoCisternas')
  2 + .factory('focaEstadoCisternasService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) {
3 3 return {
4 4 getVehiculos: function() {
5 5 return $http.get(API_ENDPOINT.URL + '/vehiculo');